Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
billfreeman44 authored Mar 31, 2024
1 parent a5ca1a7 commit 28dd182
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 28dd182

Please sign in to comment.