Skip to content

Commit

Permalink
Update poetry version dockerfile syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlaw528 committed Oct 19, 2023
1 parent 34a7aa0 commit 518b428
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev/django.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ WORKDIR /code
SHELL ["/bin/bash", "-o", "pipefail", "-c"]

# Download Poetry into Path
RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/opt/poetry | POETRY_VERSION=1.3.0 python3 -
RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/opt/poetry POETRY_VERSION=1.3.0 python3 -
ENV PATH=/opt/poetry/bin:$PATH

# Download dependencies
Expand Down
2 changes: 1 addition & 1 deletion stage/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ SHELL ["/bin/sh", "-o", "pipefail", "-c"]
RUN apk update && apk add --no-cache curl gcc musl-dev libffi-dev jq
# I could not make the linter accept 4006, so I will put this here. Whoever is interested should find a way to resolve this without ignoring.
# hadolint ignore=DL4006
RUN curl -sSL https://install.python-poetry.org | POETRY_VERSION=1.3.0 | python3 -
RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/opt/poetry POETRY_VERSION=1.3.0 python3 -

COPY backend/pyproject.toml .
COPY backend/poetry.lock .
Expand Down

0 comments on commit 518b428

Please sign in to comment.