Skip to content

Commit

Permalink
Merge pull request #82 from farribeiro/layers
Browse files Browse the repository at this point in the history
Layering for local porpouse
  • Loading branch information
farribeiro authored Jun 24, 2020
2 parents 429e93e + e3e2bc5 commit 588754b
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ RUN apt-get update && \
locales \
tzdata \
ca-certificates \
wget \
firefox-esr \
firefox-esr-l10n-pt-br \
libnss3-tools \
Expand All @@ -29,15 +28,15 @@ RUN apt-get update && \
python3 \
sudo \
xauth \
zenity \
zenity
# Setup locale
&& echo ${LANG} > /etc/locale.gen \
&& locale-gen \
RUN echo ${LANG} > /etc/locale.gen \
&& locale-gen
# Downloading warsaw
&& mkdir -p /src \
&& wget https://cloud.gastecnologia.com.br/gas/diagnostico/warsaw_setup_64.deb -O /src/GBPCEFwr64.deb \
RUN mkdir -p /src
ADD https://cloud.gastecnologia.com.br/gas/diagnostico/warsaw_setup_64.deb /src/GBPCEFwr64.deb
# Configuring the environment
&& mkdir -p /home/${USER} \
RUN mkdir -p /home/${USER} \
&& chmod 744 /home/ff/startup.sh \
&& groupadd -g ${GUID} -r ${USER} \
&& useradd -u ${GUID} -r -g ${USER} -G audio,video ${USER} -d /home/${USER} \
Expand All @@ -46,7 +45,6 @@ RUN apt-get update && \
&& echo 'Defaults !requiretty' >> /etc/sudoers \
&& echo root:wscef | chpasswd \
# Cleanup
&& apt remove --purge -y wget \
&& apt autoremove -y \
&& apt clean

Expand Down

0 comments on commit 588754b

Please sign in to comment.