From e8d71348e36bc175c135341caf0829c1c5d1d496 Mon Sep 17 00:00:00 2001 From: Bill Freeman Date: Sun, 31 Mar 2024 15:49:47 -0500 Subject: [PATCH] Update Dockerfile --- .devcontainer/Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 \