You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ez...@apache.org on 2021/04/06 19:28:19 UTC
[trafficserver-ci] branch main updated: Add more autest stuff
This is an automated email from the ASF dual-hosted git repository.
eze 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 a241546 Add more autest stuff
a241546 is described below
commit a241546081db8ef68938990672dde1365a993e88
Author: Evan Zelkowitz <ez...@apache.org>
AuthorDate: Tue Apr 6 13:28:15 2021 -0600
Add more autest stuff
adding telnet, golang, and h2spec (which gets installed in /root/go/bin
---
docker/centos/Dockerfile | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/docker/centos/Dockerfile b/docker/centos/Dockerfile
index bdedaac..acd9ce0 100644
--- a/docker/centos/Dockerfile
+++ b/docker/centos/Dockerfile
@@ -16,12 +16,16 @@ RUN yum -y install epel-release dnf-plugins-core; yum config-manager --set-enabl
perl-ExtUtils-MakeMaker perl-Digest-SHA perl-URI curl; \
# autest stuff
yum -y install python3 httpd-tools procps-ng nmap-ncat python3-pip \
- python3-gunicorn python3-requests python3-devel python3-psutil;
+ python3-gunicorn python3-requests python3-devel python3-psutil telnet golang;
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; \
fi
+
RUN update-crypto-policies --set LEGACY
+RUN echo 'export GOROOT=/usr/local/go' | tee -a /etc/profile
+RUN echo 'export PATH=$PATH:/usr/local/go/bin' | tee -a /etc/profile
+RUN source /etc/profile
+RUN go get github.com/summerwind/h2spec/cmd/h2spec
RUN yum clean all
-