Skip to content

Commit 72a1212

Browse files
SuperSandro2000nhooyr
authored andcommitted
Combine apt-get in final docker image and remove cache
1 parent a22b9c0 commit 72a1212

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ COPY --from=0 /src/packages/server/cli-linux-x64 /usr/local/bin/code-server
2323
EXPOSE 8443
2424
RUN apt-get update && apt-get install -y \
2525
openssl \
26-
net-tools
27-
RUN apt-get install -y locales && \
28-
locale-gen en_US.UTF-8
26+
net-tools \
27+
locales && \
28+
locale-gen en_US.UTF-8 && \
29+
rm -rf /var/lib/apt/lists/*
2930
# We unfortunately cannot use update-locale because docker will not use the env variables
3031
# configured in /etc/default/locale so we need to set it manually.
3132
ENV LANG=en_US.UTF-8

0 commit comments

Comments
 (0)