mirror of https://github.com/coder/code-server.git
commit
e3d9716607
|
@ -20,11 +20,13 @@ FROM ubuntu:18.10
|
||||||
WORKDIR /root/project
|
WORKDIR /root/project
|
||||||
COPY --from=0 /src/packages/server/cli-linux-x64 /usr/local/bin/code-server
|
COPY --from=0 /src/packages/server/cli-linux-x64 /usr/local/bin/code-server
|
||||||
EXPOSE 8443
|
EXPOSE 8443
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
openssl \
|
openssl \
|
||||||
net-tools
|
net-tools \
|
||||||
RUN apt-get install -y locales && \
|
git \
|
||||||
locale-gen en_US.UTF-8
|
locales
|
||||||
|
RUN locale-gen en_US.UTF-8
|
||||||
# We unfortunately cannot use update-locale because docker will not use the env variables
|
# 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.
|
# configured in /etc/default/locale so we need to set it manually.
|
||||||
ENV LANG=en_US.UTF-8
|
ENV LANG=en_US.UTF-8
|
||||||
|
|
Loading…
Reference in New Issue