From a84e7050cf9493b3cd3c54e17ab0f2f5e62d2809 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" <alexander.klimov@icinga.com> Date: Tue, 12 Apr 2022 13:35:18 +0200 Subject: [PATCH] Add v36 --- .gitlab-ci.yml | 3 +++ 36/Dockerfile | 25 +++++++++++++++++++++++++ 36/Makefile | 2 ++ Makefile | 2 ++ 4 files changed, 32 insertions(+) create mode 100644 36/Dockerfile create mode 100644 36/Makefile diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3e3432b..23614a9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,3 +26,6 @@ before_script: '35': <<: *build_job + +'36': + <<: *build_job diff --git a/36/Dockerfile b/36/Dockerfile new file mode 100644 index 0000000..5e4a4d6 --- /dev/null +++ b/36/Dockerfile @@ -0,0 +1,25 @@ +FROM fedora:36 + +RUN dnf update -y --setopt=install_weak_deps=False + +RUN dnf install -y --allowerasing \ + sudo wget curl which tar expect git \ + patch rpm-build redhat-rpm-config rpmlint \ + patch ccache make util-linux \ + dnf-utils rpmdevtools createrepo gcc \ + && dnf clean all + +RUN wget -O /etc/yum.repos.d/ICINGA-release.repo \ + https://packages.icinga.com/fedora/ICINGA-release.repo + +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 + +RUN git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin +RUN icinga-provide-go +USER build +ENTRYPOINT ["/usr/local/bin/icinga-build-entrypoint"] +CMD ["icinga-build-package"] diff --git a/36/Makefile b/36/Makefile new file mode 100644 index 0000000..f451fe1 --- /dev/null +++ b/36/Makefile @@ -0,0 +1,2 @@ +VARIANT := x86_64 +include ../image.mk diff --git a/Makefile b/Makefile index bfb57ca..86c37b2 100644 --- a/Makefile +++ b/Makefile @@ -2,8 +2,10 @@ all: $(MAKE) -C 33 $(MAKE) -C 34 $(MAKE) -C 35 + $(MAKE) -C 36 push: $(MAKE) -C 33 push $(MAKE) -C 34 push $(MAKE) -C 35 push + $(MAKE) -C 36 push -- GitLab