Skip to content
Snippets Groups Projects
Commit 38f1b4bd authored by Julian Brost's avatar Julian Brost :unicorn:
Browse files

Merge branch 'drop8' into 'master'

Drop CentOS 8

See merge request !8
parents e00c6d41 5e725844
No related branches found
No related tags found
1 merge request!8Drop CentOS 8
Pipeline #24133 passed
......@@ -18,8 +18,5 @@ 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 \
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
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"]
VARIANT := x86_64
include ../image.mk
all:
$(MAKE) -C 7
$(MAKE) -C 8
push:
$(MAKE) -C 7 push
$(MAKE) -C 8 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