diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 1435ba8..782e014 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -9,11 +9,8 @@ ARG NODE_VERSION="none" RUN if [ "${NODE_VERSION}" != "none" ]; then su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"; fi # Install poetry -RUN apt-get update && apt-get install curl -y && \ - curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - - -# Configure poetry env -RUN su vscode -c "poetry config virtualenvs.in-project true" +RUN curl -sSL "https://install.python-poetry.org" | python && \ + su vscode -c "sudo /root/.local/bin/poetry config virtualenvs.in-project true" # Install jshint RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g jshint" 2>&1