Skip to content
Snippets Groups Projects
Commit 23c7861c authored by Markus Frosch's avatar Markus Frosch
Browse files

Re-add build_icinga_org macro to be able to build Icinga 2.10

parent d49ade0b
No related branches found
No related tags found
No related merge requests found
Pipeline #5229 passed
......@@ -34,6 +34,9 @@ RUN wget -O /etc/yum.repos.d/ICINGA-release.repo \
RUN wget -O /etc/yum.repos.d/devtoolset-2.repo https://people.centos.org/tru/devtools-2/devtools-2.repo \
&& yum install -y devtoolset-2-gcc devtoolset-2-gcc-c++ devtoolset-2-binutils
# TODO: Remove this once the build deps for boost have been cleaned up...
RUN echo '%build_icinga_org 1' >/etc/rpm/macros.icinga_build
RUN groupadd -g 1000 build \
&& useradd -u 1000 -g 1000 -m build \
&& echo 'Defaults:build !requiretty' | tee -a /etc/sudoers \
......
......@@ -30,6 +30,9 @@ RUN wget -O /etc/yum.repos.d/ICINGA-release.repo \
RUN wget -O /etc/yum.repos.d/devtoolset-2.repo https://people.centos.org/tru/devtools-2/devtools-2.repo \
&& yum install -y devtoolset-2-gcc devtoolset-2-gcc-c++ devtoolset-2-binutils
# TODO: Remove this once the build deps for boost have been cleaned up...
RUN echo '%build_icinga_org 1' >/etc/rpm/macros.icinga_build
RUN groupadd -g 1000 build \
&& useradd -u 1000 -g 1000 -m build \
&& echo 'Defaults:build !requiretty' | tee -a /etc/sudoers \
......
......@@ -29,6 +29,9 @@ RUN yum install -y centos-release-scl centos-release-scl-rh scl-utils-build \
RUN wget -O /etc/yum.repos.d/ICINGA-release.repo \
https://packages.icinga.com/epel/ICINGA-release.repo
# TODO: Remove this once the build deps for boost have been cleaned up...
RUN echo '%build_icinga_org 1' >/etc/rpm/macros.icinga_build
RUN groupadd -g 1000 build \
&& useradd -u 1000 -g 1000 -m build \
&& echo 'Defaults:build !requiretty' | tee -a /etc/sudoers \
......
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