未验证 提交 3a6e27bc 编写于 作者: S Sandro Jäckel 提交者: Anmol Sethi

Combine apt-get in final docker image and remove cache

上级 ec2d01ab
......@@ -23,9 +23,10 @@ COPY --from=0 /src/packages/server/cli-linux-x64 /usr/local/bin/code-server
EXPOSE 8443
RUN apt-get update && apt-get install -y \
openssl \
net-tools
RUN apt-get install -y locales && \
locale-gen en_US.UTF-8
net-tools \
locales && \
locale-gen en_US.UTF-8 && \
rm -rf /var/lib/apt/lists/*
# We unfortunately cannot use update-locale because docker will not use the env variables
# configured in /etc/default/locale so we need to set it manually.
ENV LANG=en_US.UTF-8
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册