diff --git a/docker/slim-python/Dockerfile b/docker/slim-python/Dockerfile index a75a795..ec6c7fe 100644 --- a/docker/slim-python/Dockerfile +++ b/docker/slim-python/Dockerfile @@ -45,6 +45,7 @@ RUN echo \ ENV POETRY_HOME="/usr/local" \ PATH="${POETRY_HOME}/bin:${PATH}" +USER root RUN PYTHON_VERSION=$(python3 --version | cut -d' ' -f2 | cut -d'.' -f1,2) \ && NAME="poetry" \ && echo "---------------------------------------------------------" \ @@ -61,4 +62,5 @@ RUN PYTHON_VERSION=$(python3 --version | cut -d' ' -f2 | cut -d'.' -f1,2) \ /etc/skel/.config/pypoetry \ && chown -R vscode:vscode /home/vscode/.config \ && echo +USER vscode