From 6d5b4612f5d30175fdd4e55570a8ab667055a684 Mon Sep 17 00:00:00 2001 From: Markus Frosch <markus.frosch@icinga.com> Date: Mon, 24 Sep 2018 17:45:35 +0200 Subject: [PATCH] Add backports repository --- jessie/x86/Dockerfile | 2 ++ jessie/x86_64/Dockerfile | 2 ++ stretch/x86/Dockerfile | 2 ++ stretch/x86_64/Dockerfile | 2 ++ 4 files changed, 8 insertions(+) diff --git a/jessie/x86/Dockerfile b/jessie/x86/Dockerfile index 29787bc..c9aa962 100644 --- a/jessie/x86/Dockerfile +++ b/jessie/x86/Dockerfile @@ -14,6 +14,8 @@ RUN groupadd -g 1000 jenkins \ && echo 'Defaults:jenkins !requiretty' | tee -a /etc/sudoers \ && echo 'jenkins ALL=(ALL:ALL) NOPASSWD: ALL' | tee -a /etc/sudoers +RUN echo "deb http://ftp.debian.org/debian jessie-backports main" >/etc/apt/sources.list.d/backports.list + RUN curl https://packages.icinga.com/icinga.key | apt-key add - \ && DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release) \ && echo "deb http://packages.icinga.com/debian icinga-${DIST} main" > /etc/apt/sources.list.d/${DIST}-icinga.list diff --git a/jessie/x86_64/Dockerfile b/jessie/x86_64/Dockerfile index c4ae61e..7469879 100644 --- a/jessie/x86_64/Dockerfile +++ b/jessie/x86_64/Dockerfile @@ -14,6 +14,8 @@ RUN groupadd -g 1000 jenkins \ && echo 'Defaults:jenkins !requiretty' | tee -a /etc/sudoers \ && echo 'jenkins ALL=(ALL:ALL) NOPASSWD: ALL' | tee -a /etc/sudoers +RUN echo "deb http://ftp.debian.org/debian jessie-backports main" >/etc/apt/sources.list.d/backports.list + RUN curl https://packages.icinga.com/icinga.key | apt-key add - \ && DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release) \ && echo "deb http://packages.icinga.com/debian icinga-${DIST} main" > /etc/apt/sources.list.d/${DIST}-icinga.list diff --git a/stretch/x86/Dockerfile b/stretch/x86/Dockerfile index 6cbafc1..b0bb006 100644 --- a/stretch/x86/Dockerfile +++ b/stretch/x86/Dockerfile @@ -14,6 +14,8 @@ RUN groupadd -g 1000 jenkins \ && echo 'Defaults:jenkins !requiretty' | tee -a /etc/sudoers \ && echo 'jenkins ALL=(ALL:ALL) NOPASSWD: ALL' | tee -a /etc/sudoers +RUN echo "deb http://ftp.debian.org/debian stretch-backports main" >/etc/apt/sources.list.d/backports.list + RUN curl https://packages.icinga.com/icinga.key | apt-key add - \ && DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release) \ && echo "deb http://packages.icinga.com/debian icinga-${DIST} main" > /etc/apt/sources.list.d/${DIST}-icinga.list diff --git a/stretch/x86_64/Dockerfile b/stretch/x86_64/Dockerfile index dfea8fc..c8a568f 100644 --- a/stretch/x86_64/Dockerfile +++ b/stretch/x86_64/Dockerfile @@ -14,6 +14,8 @@ RUN groupadd -g 1000 jenkins \ && echo 'Defaults:jenkins !requiretty' | tee -a /etc/sudoers \ && echo 'jenkins ALL=(ALL:ALL) NOPASSWD: ALL' | tee -a /etc/sudoers +RUN echo "deb http://ftp.debian.org/debian stretch-backports main" >/etc/apt/sources.list.d/backports.list + RUN curl https://packages.icinga.com/icinga.key | apt-key add - \ && DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release) \ && echo "deb http://packages.icinga.com/debian icinga-${DIST} main" > /etc/apt/sources.list.d/${DIST}-icinga.list -- GitLab