File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7676 tag : opensuse1506-srpm
7777 platforms : linux/amd64
7878
79+ - dockerfile : srpm.Dockerfile
80+ image : opensuse/leap:16.0
81+ tag : opensuse1600-srpm
82+ platforms : linux/amd64
83+
7984 - dockerfile : srpm.Dockerfile
8085 image : registry.suse.com/bci/bci-base:15.6
8186 tag : sles1506-srpm
Original file line number Diff line number Diff line change @@ -26,33 +26,27 @@ RUN source /etc/os-release \
2626 dnf install -y ccache \
2727 && dnf clean all; \
2828 ;; \
29- *) \
30- # No $PLATFORM_ID in SUSE nor RH7
31- case $BASE_IMAGE in \
32- *leap:15.6|*bci-base:15.6) \
33- zypper -n update \
34- && zypper -n install rpm-build wget which sudo gcc-c++ ccache \
35- && zypper clean; \
36- ;; \
37- # Only AMD64 until EOL
38- *ubi7) \
39- yum -y upgrade \
40- && rpm -ivh https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm \
41- && yum -y install rpm-build \
42- yum-utils \
43- wget \
44- which \
45- perl-generators \
46- sudo \
47- gcc-c++ \
48- ccache \
49- && yum clean all; \
50- ;; \
51- *) \
52- echo "Unsupported base image: $BASE_IMAGE" ; \
53- exit 1; \
29+ sles:*|opensuse-leap:*) \
30+ zypper -n update \
31+ && zypper -n install rpm-build wget which sudo gcc-c++ ccache \
32+ && zypper clean; \
33+ ;; \
34+ rhel:7*) \
35+ yum -y upgrade \
36+ && rpm -ivh https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm \
37+ && yum -y install rpm-build \
38+ yum-utils \
39+ wget \
40+ which \
41+ perl-generators \
42+ sudo \
43+ gcc-c++ \
44+ ccache \
45+ && yum clean all; \
5446 ;; \
55- esac; \
47+ *) \
48+ echo "Unsupported base image: $BASE_IMAGE" ; \
49+ exit 1; \
5650 ;; \
5751 esac
5852
You can’t perform that action at this time.
0 commit comments