File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ FROM jormungandr:latest as jorm
88
99# stage 3
1010FROM python as poetry
11- RUN pip install poetry==1.8.0
11+ RUN pip install poetry==2.0.1
1212
1313# Add python codebase
1414COPY . /voting
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ builder:
2121 zlib1g-dev
2222
2323 # Install Poetry
24- RUN curl -sSL https://install.python-poetry.org | python3 - --version 1.8.0
24+ RUN curl -sSL https://install.python-poetry.org | python3 - --version 2.0.1
2525
2626 SAVE IMAGE --cache-hint
2727
4242 RUN poetry config installer.max-workers 10
4343 # Install package dependencies without the voting_node package
4444 RUN poetry install --only main --no-root
45-
45+ RUN poetry self add poetry-plugin-export
46+
4647 # Copy the voting_node source code
4748 COPY --dir voting_node README.md ./
4849
Original file line number Diff line number Diff line change 1111 RUN apt-get update && \
1212 apt-get install -y --no-install-recommends curl
1313
14- RUN curl -sSL https://install.python-poetry.org | python3 - --version 1.8.0
14+ RUN curl -sSL https://install.python-poetry.org | python3 - --version 2.0.1
1515
1616 COPY pyproject.toml .
1717 COPY poetry.lock .
Original file line number Diff line number Diff line change 1515 apt-get install -y --no-install-recommends curl build-essential libxml2-dev libxslt-dev zlib1g-dev python3-lxml
1616
1717 # Install Poetry
18- RUN curl -sSL https://install.python-poetry.org | python3 - --version 1.8.0
18+ RUN curl -sSL https://install.python-poetry.org | python3 - --version 2.0.1
1919 # Set path to poetry
2020 ENV PATH= /root/.local/bin:$PATH
2121
2828 RUN poetry env use python
2929 RUN poetry config installer.max-workers 10
3030 RUN poetry install --no-cache --no-root
31-
31+ RUN poetry self add poetry-plugin-export
32+
3233 # Build the distribution wheels and save them as artifacts
3334 RUN poetry export --without-hashes -f requirements.txt --output requirements.txt
3435 RUN poetry build --no-cache -f wheel
You can’t perform that action at this time.
0 commit comments