From 52491407eae20d377df82645b0e6bf221c122564 Mon Sep 17 00:00:00 2001 From: Richard McSorley Date: Tue, 2 Apr 2019 19:24:44 -0500 Subject: [PATCH] Use an init system --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3e752e54e4db..664eeaf1a22a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,10 +25,11 @@ RUN apt-get update && apt-get install -y \ openssl \ net-tools \ git \ - locales + locales \ + dumb-init RUN locale-gen en_US.UTF-8 # 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 ENV LC_ALL=en_US.UTF-8 -ENTRYPOINT ["code-server"] +ENTRYPOINT ["/usr/bin/dumb-init", "code-server"]