Skip to content

Commit 2258c10

Browse files
authored
bump python version (#581)
1 parent be0c73a commit 2258c10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jenkins-agents/jenkins-agent-python/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM quay.io/openshift/origin-jenkins-agent-base:4.9
22

33
EXPOSE 8080
44

5-
ENV PYTHON_VERSION=3.8 \
5+
ENV PYTHON_VERSION=3.9 \
66
PATH=$HOME/.local/bin/:$PATH \
77
PYTHONUNBUFFERED=1 \
88
PYTHONIOENCODING=UTF-8 \
@@ -13,14 +13,14 @@ ENV PYTHON_VERSION=3.8 \
1313
ADD ubi8.repo /tmp/ubi8.repo
1414

1515
RUN INSTALL_PKGS=" \
16-
python38 python38-devel nss_wrapper httpd httpd-devel mod_ssl mod_ldap \
16+
python39 python39-devel nss_wrapper httpd httpd-devel mod_ssl mod_ldap \
1717
mod_session atlas-devel gcc-gfortran libffi-devel libtool-ltdl enchant" && \
1818
rm -f /etc/yum.repos.d/*.repo && \
1919
mv /tmp/ubi8.repo /etc/yum.repos.d && \
2020
dnf -y --setopt=tsflags=nodocs install $INSTALL_PKGS && \
2121
rpm -V $INSTALL_PKGS && \
2222
dnf -y clean all && \
23-
alternatives --set python3 /usr/bin/python3.8 && \
23+
alternatives --set python3 /usr/bin/python3.9 && \
2424
python3 -m pip install --upgrade pip && \
2525
python3 -m pip install twine && \
2626
chmod -R 775 /var/lib/alternatives && \

0 commit comments

Comments
 (0)