Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • build-docker/fedora
1 result
Show changes
Commits on Source (2)
FROM fedora:33
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"]
VARIANT := x86_64
include ../image.mk
FROM fedora:34
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"]
VARIANT := x86_64
include ../image.mk
......@@ -15,8 +15,7 @@ RUN wget -O /etc/yum.repos.d/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
&& echo 'build ALL=(ALL:ALL) NOPASSWD: ALL' | tee -a /etc/sudoers
RUN git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin
RUN icinga-provide-go
......
......@@ -15,8 +15,7 @@ RUN wget -O /etc/yum.repos.d/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
&& echo 'build ALL=(ALL:ALL) NOPASSWD: ALL' | tee -a /etc/sudoers
RUN git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin
RUN icinga-provide-go
......