Skip to content

Commit e3d9716

Browse files
authored
Merge pull request #231 from nhooyr/docker
Dockerfile: include git
2 parents e4ff723 + 862c944 commit e3d9716

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Dockerfile

+5-3
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ FROM ubuntu:18.10
2020
WORKDIR /root/project
2121
COPY --from=0 /src/packages/server/cli-linux-x64 /usr/local/bin/code-server
2222
EXPOSE 8443
23+
2324
RUN apt-get update && apt-get install -y \
2425
openssl \
25-
net-tools
26-
RUN apt-get install -y locales && \
27-
locale-gen en_US.UTF-8
26+
net-tools \
27+
git \
28+
locales
29+
RUN locale-gen en_US.UTF-8
2830
# We unfortunately cannot use update-locale because docker will not use the env variables
2931
# configured in /etc/default/locale so we need to set it manually.
3032
ENV LANG=en_US.UTF-8

0 commit comments

Comments
 (0)