From ad010021e6c736f04f92f8b9df4758a76cef10dc Mon Sep 17 00:00:00 2001 From: Markus Frosch <markus.frosch@icinga.com> Date: Wed, 4 Apr 2018 13:49:10 +0200 Subject: [PATCH] Embed build scripts into all container --- 6-i386/Dockerfile | 4 ++++ 6/Dockerfile | 4 ++++ 7/Dockerfile | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/6-i386/Dockerfile b/6-i386/Dockerfile index f73a452..6eee857 100644 --- a/6-i386/Dockerfile +++ b/6-i386/Dockerfile @@ -37,3 +37,7 @@ 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 + +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"] diff --git a/6/Dockerfile b/6/Dockerfile index f624d66..03e5999 100644 --- a/6/Dockerfile +++ b/6/Dockerfile @@ -34,3 +34,7 @@ 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 + +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"] diff --git a/7/Dockerfile b/7/Dockerfile index 21869f1..3beadb6 100644 --- a/7/Dockerfile +++ b/7/Dockerfile @@ -31,3 +31,7 @@ RUN groupadd -g 1000 jenkins \ RUN wget -O /etc/yum.repos.d/ICINGA-release.repo \ https://packages.icinga.com/epel/ICINGA-release.repo + +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"] -- GitLab