Skip to content

Commit 5249140

Browse files
Use an init system
1 parent 3a672d7 commit 5249140

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

+3-2
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ RUN apt-get update && apt-get install -y \
2525
openssl \
2626
net-tools \
2727
git \
28-
locales
28+
locales \
29+
dumb-init
2930
RUN locale-gen en_US.UTF-8
3031
# We unfortunately cannot use update-locale because docker will not use the env variables
3132
# configured in /etc/default/locale so we need to set it manually.
3233
ENV LANG=en_US.UTF-8
3334
ENV LC_ALL=en_US.UTF-8
34-
ENTRYPOINT ["code-server"]
35+
ENTRYPOINT ["/usr/bin/dumb-init", "code-server"]

0 commit comments

Comments
 (0)