This is an automated email from the ASF dual-hosted git repository.

bneradt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/trafficserver-ci.git


The following commit(s) were added to refs/heads/main by this push:
     new 88b7d9c  rockylinux:8 make Python3.8 the default alternate (#297)
88b7d9c is described below

commit 88b7d9c635447fea611276a74699631532e14cf8
Author: Brian Neradt <[email protected]>
AuthorDate: Tue Nov 28 19:25:24 2023 -0600

    rockylinux:8 make Python3.8 the default alternate (#297)
---
 docker/rockylinux8/Dockerfile | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/docker/rockylinux8/Dockerfile b/docker/rockylinux8/Dockerfile
index 2de3bea..59e7488 100644
--- a/docker/rockylinux8/Dockerfile
+++ b/docker/rockylinux8/Dockerfile
@@ -182,5 +182,14 @@ RUN yum install -y ctags elfutils-libelf-devel wdiff
 COPY /install_abi_tools.sh /root/install_abi_tools.sh
 RUN bash /root/install_abi_tools.sh
 
+# Autest and yapf require python3.8.
+RUN <<EOF
+  set -e
+  alternatives --set python3 /usr/bin/python3.8
+  python3 -m ensurepip --upgrade
+  python3 -m pip install --upgrade pip
+  python3 -m pip install virtualenv
+EOF
+
 # Keep this at the end to clean up the yum cache.
 RUN yum clean all

Reply via email to