Commit 145e5727 authored by Markus Frosch's avatar Markus Frosch 📣

Add centos 8 container

parent 59dbc671
Pipeline #7256 passed with stage
in 22 minutes and 1 second
......@@ -18,6 +18,9 @@ before_script:
- make -C ${CI_JOB_NAME}
- '[ "$CI_COMMIT_REF_NAME" != master ] || make -C ${CI_JOB_NAME} push'
'8':
<<: *build_job
'7':
<<: *build_job
......
FROM centos:8
RUN dnf update -y && dnf clean all
RUN dnf install -y \
sudo wget curl which tar expect git \
patch rpm-build redhat-rpm-config rpmlint \
patch make util-linux \
dnf-utils rpmdevtools createrepo \
epel-release \
&& dnf clean all
RUN dnf config-manager --set-enabled PowerTools
RUN dnf install -y \
boost-devel \
bison \
cmake \
openssl-devel \
mysql-devel \
libedit-devel \
ccache \
gcc gcc-c++ \
&& dnf clean all
RUN wget -O /etc/yum.repos.d/ICINGA-release.repo \
https://packages.icinga.com/epel/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
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,9 @@ all:
$(MAKE) -C 6
$(MAKE) -C 6-i386
$(MAKE) -C 7
$(MAKE) -C 8
push:
$(MAKE) -C 6-i386 push
$(MAKE) -C 6 push
$(MAKE) -C 7 push
$(MAKE) -C 8 push
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment