You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bn...@apache.org on 2022/05/13 21:27:21 UTC
[trafficserver-ci] branch main updated: Upgrade pip before each use in each Dockerfile (#101)
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 787cc45 Upgrade pip before each use in each Dockerfile (#101)
787cc45 is described below
commit 787cc45841b14c5c9f2001296a6fa64387ee5862
Author: Brian Neradt <br...@gmail.com>
AuthorDate: Fri May 13 16:27:18 2022 -0500
Upgrade pip before each use in each Dockerfile (#101)
I noticed that an upgraded pip had fixes for M1. Updating it in our
Dockerfiles before use.
---
docker/alma/Dockerfile | 1 +
docker/centos7/Dockerfile | 1 +
docker/centos8/Dockerfile | 1 +
docker/docs/Dockerfile | 1 +
docker/fedora32/Dockerfile | 1 +
docker/fedora35/Dockerfile | 1 +
docker/fedora36/Dockerfile | 1 +
docker/rockylinux8/Dockerfile | 1 +
8 files changed, 8 insertions(+)
diff --git a/docker/alma/Dockerfile b/docker/alma/Dockerfile
index 1f6eb46..0cea7d1 100644
--- a/docker/alma/Dockerfile
+++ b/docker/alma/Dockerfile
@@ -18,6 +18,7 @@ RUN yum -y install epel-release dnf-plugins-core; yum config-manager --set-enabl
yum -y install python3 httpd-tools procps-ng nmap-ncat python3-pip \
python3-gunicorn python3-requests python3-devel python3-psutil telnet golang;
+RUN pip3 install --upgrade pip
RUN pip3 install pipenv httpbin
RUN yum -y install gcc-toolset-9 gcc-toolset-9-libasan-devel
diff --git a/docker/centos7/Dockerfile b/docker/centos7/Dockerfile
index d0da431..caf96a5 100644
--- a/docker/centos7/Dockerfile
+++ b/docker/centos7/Dockerfile
@@ -30,6 +30,7 @@ RUN mkdir /opt/openssl11 \
&& ln -s /usr/lib64/openssl11 /opt/openssl11/lib \
&& ln -s /usr/include/openssl11 /opt/openssl11/include
+RUN pip3 install --upgrade pip
RUN pip3 install pipenv httpbin
RUN if [ ! -z "$(grep -i centos /etc/redhat-release)" ]; then \
yum install -y centos-release-scl; \
diff --git a/docker/centos8/Dockerfile b/docker/centos8/Dockerfile
index 36a55eb..4de51d2 100644
--- a/docker/centos8/Dockerfile
+++ b/docker/centos8/Dockerfile
@@ -24,6 +24,7 @@ RUN yum -y install epel-release dnf-plugins-core; yum config-manager --set-enabl
yum -y install python3 httpd-tools procps-ng nmap-ncat python3-pip \
python3-gunicorn python3-requests python3-devel python3-psutil telnet golang;
+RUN pip3 install --upgrade pip
RUN pip3 install pipenv httpbin
RUN if [ ! -z "$(grep -i centos /etc/redhat-release)" ]; then \
yum -y install gcc-toolset-9 gcc-toolset-9-libasan-devel; \
diff --git a/docker/docs/Dockerfile b/docker/docs/Dockerfile
index ba6aeee..293e337 100644
--- a/docker/docs/Dockerfile
+++ b/docker/docs/Dockerfile
@@ -13,6 +13,7 @@ RUN yum -y update; \
yum -y install python3 httpd-tools procps-ng nmap-ncat pipenv; \
# This is stuff for docs building
yum -y install java lbzip2 rsync;
+RUN pip3 install --upgrade pip
RUN pip3 install sphinx
RUN pip3 install sphinxcontrib.plantuml
RUN pip3 install sphinx-rtd-theme
diff --git a/docker/fedora32/Dockerfile b/docker/fedora32/Dockerfile
index 7b62e92..3e322d4 100644
--- a/docker/fedora32/Dockerfile
+++ b/docker/fedora32/Dockerfile
@@ -18,6 +18,7 @@ RUN yum -y install epel-release dnf-plugins-core; yum config-manager --set-enabl
yum -y install python3 httpd-tools procps-ng nmap-ncat python3-pip \
python3-gunicorn python3-requests python3-devel python3-psutil telnet golang;
+RUN pip3 install --upgrade pip
RUN pip3 install pipenv httpbin
RUN if [ ! -z "$(grep -i centos /etc/redhat-release)" ]; then \
yum -y install gcc-toolset-9 gcc-toolset-9-libasan-devel; \
diff --git a/docker/fedora35/Dockerfile b/docker/fedora35/Dockerfile
index b2f0fbc..55b325f 100644
--- a/docker/fedora35/Dockerfile
+++ b/docker/fedora35/Dockerfile
@@ -18,6 +18,7 @@ RUN yum -y install epel-release dnf-plugins-core; yum config-manager --set-enabl
yum -y install python3 httpd-tools procps-ng nmap-ncat python3-pip \
python3-gunicorn python3-requests python3-devel python3-psutil telnet golang;
+RUN pip3 install --upgrade pip
RUN pip3 install pipenv httpbin
# Install openssl-quic
diff --git a/docker/fedora36/Dockerfile b/docker/fedora36/Dockerfile
index b944d8b..64b5c6e 100644
--- a/docker/fedora36/Dockerfile
+++ b/docker/fedora36/Dockerfile
@@ -18,6 +18,7 @@ RUN yum -y install epel-release dnf-plugins-core; yum config-manager --set-enabl
yum -y install python3 httpd-tools procps-ng nmap-ncat python3-pip \
python3-gunicorn python3-requests python3-devel python3-psutil telnet golang;
+RUN pip3 install --upgrade pip
RUN pip3 install pipenv httpbin
# Install openssl-quic
diff --git a/docker/rockylinux8/Dockerfile b/docker/rockylinux8/Dockerfile
index e8e0aab..359c62c 100644
--- a/docker/rockylinux8/Dockerfile
+++ b/docker/rockylinux8/Dockerfile
@@ -18,6 +18,7 @@ RUN yum -y install epel-release dnf-plugins-core; yum config-manager --set-enabl
yum -y install python3 httpd-tools procps-ng nmap-ncat python3-pip \
python3-gunicorn python3-requests python3-devel python3-psutil telnet golang;
+RUN pip3 install --upgrade pip
RUN pip3 install pipenv httpbin
RUN yum -y install gcc-toolset-11 gcc-toolset-11-libasan-devel