Browse Source

optimise

pull/5/head
Daniel Gibbs 3 years ago
parent
commit
fc377311f5
No known key found for this signature in database GPG Key ID: 4D812BAB6228BBA6
  1. 21
      Dockerfile

21
Dockerfile

@ -50,25 +50,28 @@ RUN echo "**** Install Base LinuxGSM Requirements ****" \
iproute2 \
iputils-ping \
nano \
vim
vim \
&& apt-get -y autoremove \
&& apt-get -y clean \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /tmp/* \
&& rm -rf /var/tmp/*
# Install NodeJS
RUN echo "**** Install NodeJS ****" \
&& curl -sL https://deb.nodesource.com/setup_16.x | bash - \
&& apt-get update && apt-get install -y nodejs
# Install GameDig https://docs.linuxgsm.com/requirements/gamedig
RUN echo "**** Install GameDig ****" \
&& npm install -g gamedig
# Install Cleanup
RUN echo "**** Cleanup ****" \
&& apt-get update \
&& apt-get install -y nodejs \
&& apt-get -y autoremove \
&& apt-get -y clean \
&& rm -rf /var/lib/apt/lists/* \
&& rm -rf /tmp/* \
&& rm -rf /var/tmp/*
# Install GameDig https://docs.linuxgsm.com/requirements/gamedig
RUN echo "**** Install GameDig ****" \
&& npm install -g gamedig
##Need use xterm for LinuxGSM##
ENV DEBIAN_FRONTEND noninteractive

Loading…
Cancel
Save