Skip to content

Commit f712969

Browse files
committed
Docker: Update Python 3.14 in Base for dependencies
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent 6eddab3 commit f712969

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Base/Dockerfile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ARG NETTY_VERSION=4.2.7.Final
1313
ARG CS_VERSION=2.1.25-M18
1414
ARG ENVSUBST_VERSION=1.4.7
1515
ARG CURL_VERSION=8.16.0
16-
ARG PYTHON_VERSION=3.13
16+
ARG PYTHON_VERSION=3.14
1717

1818
#Arguments to define the user running Selenium
1919
ARG SEL_USER=seluser
@@ -95,10 +95,9 @@ RUN gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys F23C5A6CF475977595
9595
&& apt-get -qqy update \
9696
&& apt-get upgrade -yq \
9797
&& apt-get -qqy --no-install-recommends install python${PYTHON_VERSION} python${PYTHON_VERSION}-venv \
98-
&& update-alternatives --install /usr/bin/python3 python3 /usr/bin/python${PYTHON_VERSION} 1 \
99-
&& update-alternatives --install /usr/bin/python python /usr/bin/python${PYTHON_VERSION} 1 \
98+
&& update-alternatives --install /usr/bin/python3 python3 /usr/bin/python${PYTHON_VERSION} 100 \
99+
&& update-alternatives --set python3 /usr/bin/python${PYTHON_VERSION} \
100100
&& python3 -m ensurepip --upgrade \
101-
&& python3 -m pip install --upgrade pip virtualenv --break-system-packages \
102101
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/* \
103102
&& echo "source $VENV_PATH/bin/activate" >> /etc/bash.bashrc
104103

@@ -200,7 +199,7 @@ RUN python3 -m venv $VENV_PATH \
200199
&& wget -q https://github.com/Supervisor/supervisor/archive/refs/heads/main.zip -O /tmp/supervisor.zip \
201200
&& unzip /tmp/supervisor.zip -d /tmp \
202201
&& cd /tmp/supervisor-main \
203-
&& $VENV_PATH/bin/python3 -m pip install --break-system-packages . \
202+
&& $VENV_PATH/bin/python3 -m pip install . \
204203
&& rm -rf /tmp/supervisor.zip /tmp/supervisor-main
205204

206205
#RUN /opt/bin/add-jks-helper.sh -d /opt/selenium/secrets \

0 commit comments

Comments
 (0)