Skip to content

Commit 862c944

Browse files
committed
Dockerfile: include git
Closes #221 Closes #230 Closes #203
1 parent 3a6e27b commit 862c944

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Dockerfile

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
FROM node:8.15.0
22

3-
# Install VS Code's deps. These are the only two it seems we need. Install git for source control.
3+
# Install VS Code's deps. These are the only two it seems we need.
44
RUN apt-get update && apt-get install -y \
55
libxkbfile-dev \
6-
libsecret-1-dev \
7-
git
6+
libsecret-1-dev
87

98
# Ensure latest yarn.
109
RUN npm install -g [email protected]
@@ -21,12 +20,13 @@ FROM ubuntu:18.10
2120
WORKDIR /root/project
2221
COPY --from=0 /src/packages/server/cli-linux-x64 /usr/local/bin/code-server
2322
EXPOSE 8443
23+
2424
RUN apt-get update && apt-get install -y \
2525
openssl \
2626
net-tools \
27-
locales && \
28-
locale-gen en_US.UTF-8 && \
29-
rm -rf /var/lib/apt/lists/*
27+
git \
28+
locales
29+
RUN locale-gen en_US.UTF-8
3030
# We unfortunately cannot use update-locale because docker will not use the env variables
3131
# configured in /etc/default/locale so we need to set it manually.
3232
ENV LANG=en_US.UTF-8

0 commit comments

Comments
 (0)