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 c9602d6 Update centos for autest
c9602d6 is described below
commit c9602d6be635165441bc9d17358c74f700ff48e9
Author: Evan Zelkowitz <[email protected]>
AuthorDate: Mon Apr 5 14:08:20 2021 -0600
Update centos for autest
Adding psutil and crypto policies settings for autest
---
docker/centos/Dockerfile | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
diff --git a/docker/centos/Dockerfile b/docker/centos/Dockerfile
index 17a82d9..bdedaac 100644
--- a/docker/centos/Dockerfile
+++ b/docker/centos/Dockerfile
@@ -1,23 +1,27 @@
FROM centos:8
-RUN yum -y install epel-release dnf-plugins-core; yum config-manager
--set-enabled powertools; yum repolist
+RUN yum -y install epel-release dnf-plugins-core; yum config-manager
--set-enabled powertools; yum repolist; \
-RUN yum -y update; \
+ yum -y update; \
# Compilers
yum -y install ccache make pkgconfig bison flex gcc-c++ clang \
# Autoconf
autoconf automake libtool \
# Various other tools
- git rpm-build distcc-server file wget openssl hwloc; \
+ git rpm-build distcc-server file wget openssl hwloc nghttp2
libnghttp2-devel; \
# Devel packages that ATS needs
yum -y install openssl-devel expat-devel pcre-devel libcap-devel
hwloc-devel libunwind-devel \
xz-devel libcurl-devel ncurses-devel jemalloc-devel GeoIP-devel
luajit-devel brotli-devel \
ImageMagick-devel ImageMagick-c++-devel hiredis-devel zlib-devel
libmaxminddb-devel \
- perl-ExtUtils-MakeMaker perl-Digest-SHA perl-URI;
+ 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;
+RUN pip3 install pipenv httpbin
RUN if [ ! -z "$(grep -i centos /etc/redhat-release)" ]; then \
- #yum -y install centos-release-scl; \
yum -y install gcc-toolset-9 gcc-toolset-9-libasan-devel; \
fi
-
+RUN update-crypto-policies --set LEGACY
RUN yum clean all
+