Skip to content
Snippets Groups Projects
Commit a4c989eb authored by Noah Hilverling's avatar Noah Hilverling
Browse files

Merge branch '15.2' into 'master'

Add support for opensuse 15.2

See merge request !1
parents 7fc070b6 1b62d761
No related branches found
No related tags found
1 merge request!1Add support for opensuse 15.2
Pipeline #14059 failed
......@@ -26,3 +26,6 @@ before_script:
'15.1':
<<: *build_job
'15.2':
<<: *build_job
FROM opensuse/leap:15.2
RUN zypper refresh -f \
&& zypper update -y \
&& zypper clean
RUN zypper --non-interactive install --no-recommends \
sudo wget curl which tar expect git \
make patch rpm-build rpmlint \
&& zypper clean
RUN zypper --non-interactive install --no-recommends \
cmake libopenssl-devel ccache \
&& zypper clean
RUN OBS_DIST=openSUSE_Leap_15.2 \
&& zypper --non-interactive addrepo https://download.opensuse.org/repositories/home:/icinga/"${OBS_DIST}"/home:icinga.repo \
&& zypper --gpg-auto-import-keys --non-interactive install spectool createrepo \
&& zypper clean -a
RUN rpm --import https://packages.icinga.com/icinga.key \
&& zypper --non-interactive addrepo --refresh https://packages.icinga.com/openSUSE/ICINGA-release.repo \
&& zypper --non-interactive refresh \
&& zypper clean -a
RUN groupadd -g 1000 build \
&& useradd -u 1000 -g 1000 -m build \
&& echo 'Defaults:build !requiretty' | tee -a /etc/sudoers \
&& echo 'build ALL=(ALL:ALL) NOPASSWD: ALL' | tee -a /etc/sudoers \
&& chown build.build /usr/local/bin
USER build
RUN git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin
ENTRYPOINT ["/usr/local/bin/icinga-build-entrypoint"]
CMD ["icinga-build-package"]
VARIANT := x86_64
include ../image.mk
......@@ -2,8 +2,10 @@ all:
$(MAKE) -C 42.3
$(MAKE) -C 15.0
$(MAKE) -C 15.1
$(MAKE) -C 15.2
push:
$(MAKE) -C 42.3 push
$(MAKE) -C 15.0 push
$(MAKE) -C 15.1 push
$(MAKE) -C 15.2 push
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment