Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Fix deprecated poetry install method #631

Merged
merged 3 commits into from
Sep 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ RUN apt-get update -qq && \
ENV PATH=/root/.poetry/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
COPY pyproject.toml poetry.lock /
ENV PIP_NO_BINARY=psycopg2
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - \
&& poetry config virtualenvs.create false --local \
&& poetry install --no-dev
ENV GET_POETRY_IGNORE_DEPRECATION=1
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py \
| POETRY_VERSION=1.1.14 python - && \
poetry config virtualenvs.create false --local && \
poetry install --no-dev
8 changes: 5 additions & 3 deletions base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ RUN apt-get update -qq && \
ENV PATH=/root/.poetry/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
COPY pyproject.toml poetry.lock /
ENV PIP_NO_BINARY=psycopg2
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - \
&& poetry config virtualenvs.create false --local \
&& poetry install --no-dev
ENV GET_POETRY_IGNORE_DEPRECATION=1
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py \
| POETRY_VERSION=1.1.14 python - && \
poetry config virtualenvs.create false --local && \
poetry install --no-dev
8 changes: 5 additions & 3 deletions dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ RUN apt-get update -qq && \
ENV PATH=/root/.poetry/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
COPY pyproject.toml poetry.lock /
ENV PIP_NO_BINARY=psycopg2
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - \
&& poetry config virtualenvs.create false --local \
&& poetry install --no-dev
ENV GET_POETRY_IGNORE_DEPRECATION=1
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py \
| POETRY_VERSION=1.1.14 python - && \
poetry config virtualenvs.create false --local && \
poetry install --no-dev
ENV NPM_CONFIG_LOGLEVEL warn
ENV NPM_CONFIG_PREFIX=/node_modules
ENV PATH=$PATH:/node_modules/.bin
Expand Down