File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ USER root
5
5
6
6
ARG SCANNER_VERSION=5.0.1.3006
7
7
ARG PYTHON_VERSION=3.12.1
8
+ ARG POETRY_VERSION=1.8.4
8
9
9
10
# install required dependencies to build Python from source see: https://devguide.python.org/getting-started/setup-building/#install-dependencies
10
11
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 \
19
20
20
21
USER sonarsource
21
22
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}
23
24
ENV PATH="/home/sonarsource/bin:${PATH}"
24
25
ENV PATH="${PATH}:/home/sonarsource/.local/bin"
You can’t perform that action at this time.
0 commit comments