From 0c520df93f51f8f6a502c82d621704e2104b51d2 Mon Sep 17 00:00:00 2001 From: Vladimir Protsenko Date: Thu, 17 Aug 2023 22:47:11 +0400 Subject: [PATCH] Install python extension for user, not for root. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 834d3aa..d9b3f7d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,13 +19,13 @@ RUN chown ${USER}:${GROUP} /wd # SYSTEM CONFIGURATION RUN apt install vim htop mc curl wget git tree -y RUN curl -fsSL https://code-server.dev/install.sh | sh -RUN code-server --install-extension ms-python.python 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