From a360d0c3df46c0c5ec68b84366318b972a9fa4de Mon Sep 17 00:00:00 2001 From: Vladimir Protsenko Date: Fri, 18 Aug 2023 13:10:38 +0400 Subject: [PATCH] Fix bug with dup config strings. --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8a76e8b..640026c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,6 @@ USER ${USER} # USER CONFIGURATION # RUN ... -RUN code-server --install-extension ms-python.python RUN openssl req -x509 -newkey rsa:4096 -keyout /home/${USER}/key.pem -out /home/${USER}/cert.pem -sha256 -nodes -days 365 -subj "/C=RU/ST=SamaraRegion/L=Samara/O=SSAU/OU=LIAV/CN=vscode.ssau.ru/" RUN mkdir -p /home/${USER}/.config/code-server @@ -33,6 +32,8 @@ RUN echo 'bind-addr: 0.0.0.0:8443' >> /home/${USER}/.config/code-server/config.y RUN echo "cert: /home/${USER}/cert.pem" >> /home/${USER}/.config/code-server/config.yaml RUN echo "cert-key: /home/${USER}/key.pem" >> /home/${USER}/.config/code-server/config.yaml +RUN code-server --install-extension ms-python.python + ENV SHELL=/bin/bash SHELL ["/bin/bash", "--login", "-i", "-c"] -WORKDIR /wd +WORKDIR /wd \ No newline at end of file