Skip to content

Commit 6848d1e

Browse files
author
Sebastien Vermeille
committed
1 parent 1328b4f commit 6848d1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.cirrus/poetry.Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ USER root
55

66
ARG SCANNER_VERSION=5.0.1.3006
77
ARG PYTHON_VERSION=3.12.1
8+
ARG POETRY_VERSION=1.8.4
89

910
# install required dependencies to build Python from source see: https://devguide.python.org/getting-started/setup-building/#install-dependencies
1011
RUN apt-get update && apt-get install -y build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libsqlite3-dev libreadline-dev libffi-dev curl libbz2-dev
@@ -19,6 +20,6 @@ RUN cd /usr/local/bin \
1920

2021
USER sonarsource
2122

22-
RUN curl -sSL https://install.python-poetry.org | python3 - --version 1.8.4
23+
RUN curl -sSL https://install.python-poetry.org | python3 - --version ${POETRY_VERSION}
2324
ENV PATH="/home/sonarsource/bin:${PATH}"
2425
ENV PATH="${PATH}:/home/sonarsource/.local/bin"

0 commit comments

Comments
 (0)