Skip to content

Instantly share code, notes, and snippets.

@eloycoto
Created June 8, 2021 15:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eloycoto/aa33fc9f560a3775061ea7bb41c0327b to your computer and use it in GitHub Desktop.
Save eloycoto/aa33fc9f560a3775061ea7bb41c0327b to your computer and use it in GitHub Desktop.
FROM quay.io/centos/centos:centos8.3.2011
RUN dnf install -y rpm-build
RUN dnf install -y annobin-annocheck dos2unix gcc git make pcre-devel
RUN dnf install -y perl perl-File-Temp systemtap-sdt-devel
RUN dnf install -y 'dnf-command(config-manager)'
RUN yum config-manager --add-repo http://packages.dev.3sca.net/dev_packages_3sca_net.repo \
&& sed -i 's/\.net$/.net\/CVE/g' /etc/yum.repos.d/dev_packages_3sca_net.repo
RUN yum install -y openresty-pcre-devel openresty-zlib-devel openssl-devel opentracing-cpp-devel openresty-pcre-devel
rpm2cpio openresty.rpm | cpio -idmv
rpm2cpio /test/openresty-1.19.3-1.el8.3.src.rpm | cpio -idmv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment