diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 2b13fe7..dd98441 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -3,14 +3,12 @@ ARG VARIANT="3" FROM mcr.microsoft.com/vscode/devcontainers/python:${VARIANT} ARG POETRY_VERSION="1.2.1" -ARG POETRY_SRC="https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py" +ARG POETRY_SRC="https://install.python-poetry.org" USER vscode WORKDIR /home/vscode -RUN curl -fsSL -o install-poetry.py "${POETRY_SRC}" \ - && python install-poetry.py --version $POETRY_VERSION \ - && rm install-poetry.py +RUN curl -sSL "${POETRY_SRC}" | python3 - --version ${POETRY_VERSION} RUN mkdir -p .config/git \ && echo ".vscode/*" >> .config/git/ignore \