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 2021/04/26 22:24:22 UTC

[trafficserver-ci] branch main updated: Adding an alma Dockerfile. (#10)

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 33fe2a8  Adding an alma Dockerfile. (#10)
33fe2a8 is described below

commit 33fe2a8c1281e62b3a18d90f66b38a59fc55a08b
Author: Brian Neradt <br...@verizonmedia.com>
AuthorDate: Mon Apr 26 17:24:14 2021 -0500

    Adding an alma Dockerfile. (#10)
---
 docker/alma/Dockerfile | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/docker/alma/Dockerfile b/docker/alma/Dockerfile
new file mode 100644
index 0000000..08e8460
--- /dev/null
+++ b/docker/alma/Dockerfile
@@ -0,0 +1,27 @@
+FROM almalinux/almalinux:8
+
+RUN yum -y install epel-release dnf-plugins-core; yum config-manager --set-enabled powertools; yum repolist; \
+
+    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 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 curl; \
+    # autest stuff
+    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 pipenv httpbin
+RUN yum -y install gcc-toolset-9 gcc-toolset-9-libasan-devel
+
+RUN update-crypto-policies --set LEGACY
+RUN go get github.com/summerwind/h2spec/cmd/h2spec
+RUN cp /root/go/bin/h2spec /usr/local/bin
+RUN yum clean all