Skip to content

Commit

Permalink
bump python version (#581)
Browse files Browse the repository at this point in the history
  • Loading branch information
mabulgu authored May 24, 2022
1 parent be0c73a commit 2258c10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions jenkins-agents/jenkins-agent-python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM quay.io/openshift/origin-jenkins-agent-base:4.9

EXPOSE 8080

ENV PYTHON_VERSION=3.8 \
ENV PYTHON_VERSION=3.9 \
PATH=$HOME/.local/bin/:$PATH \
PYTHONUNBUFFERED=1 \
PYTHONIOENCODING=UTF-8 \
Expand All @@ -13,14 +13,14 @@ ENV PYTHON_VERSION=3.8 \
ADD ubi8.repo /tmp/ubi8.repo

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

0 comments on commit 2258c10

Please sign in to comment.