Created
June 8, 2021 15:46
-
-
Save eloycoto/aa33fc9f560a3775061ea7bb41c0327b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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