Skip to content

Commit

Permalink
Improve Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
gcotelli committed Apr 25, 2024
1 parent c95e18c commit 6d8dc79
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions source/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ ENV GS_USER=gemstone
ENV GS_UID=1001
ENV GS_GID=100

RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install --assume-yes --no-install-recommends \
RUN apt update \
&& apt upgrade --assume-yes \
&& apt install --assume-yes --no-install-recommends \
ca-certificates \
gosu \
locales \
libcap2-bin \
&& echo "en_US.UTF-8 UTF-8" > /etc/locale.gen \
&& echo "en_US.ISO-8859-15 ISO-8859-15" >> /etc/locale.gen \
&& locale-gen \
&& apt-get clean \
&& apt clean \
&& rm --recursive --force /var/lib/apt/lists/* /tmp/* /var/tmp/* \
&& useradd --uid ${GS_UID} --gid ${GS_GID} --no-create-home --no-user-group ${GS_USER} \
;
Expand Down Expand Up @@ -157,11 +157,11 @@ FROM docker-gs64-server as docker-gs64-rowan

USER root
# Install git
RUN apt-get update \
&& apt-get install --assume-yes --no-install-recommends \
RUN apt update \
&& apt install --assume-yes --no-install-recommends \
git \
ssh-client \
&& apt-get clean \
&& apt clean \
&& rm --recursive --force /var/lib/apt/lists/* /tmp/* /var/tmp/* \
;

Expand Down

0 comments on commit 6d8dc79

Please sign in to comment.