Created
February 3, 2020 22:12
-
-
Save ramius345/9e3e1816d33e73beff624b2e78f0209a 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
source: $ | |
dockerfile: | $ | |
FROM quay.io/openshift/origin-jenkins-agent-maven:4.1.0\nUSER root $ | |
RUN curl https://copr.fedorainfracloud.org/coprs/alsadi/dumb-init/repo/epel-7/alsadi-dumb-init-epel-7.repo -o /etc/yum.repos.d/alsadi-dumb-init-epel-7.repo $ | |
RUN curl https://raw.githubusercontent.com/ramius345/centos-repos-containerbuild/master/CentOS-Base.repo -o /etc/yum.repos.d/CentOS-Base.repo $ | |
RUN curl http://mirror.centos.org/centos-7/7/os/x86_64/RPM-GPG-KEY-CentOS-7 -o /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7 $ | |
RUN yum --disablerepo=rhel-server-extras --disablerepo=rhel-server --disablerepo=rhel-fast-datapath --disablerepo=rhel-server-optional --disablerepo=rhel-server-ose --disablerepo=rhel-$ | |
USER 1001\n" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment