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

Add backports repository

parent acc6332f
No related branches found
No related tags found
No related merge requests found
Pipeline #2489 passed
...@@ -14,6 +14,8 @@ RUN groupadd -g 1000 jenkins \ ...@@ -14,6 +14,8 @@ RUN groupadd -g 1000 jenkins \
&& echo 'Defaults:jenkins !requiretty' | tee -a /etc/sudoers \ && echo 'Defaults:jenkins !requiretty' | tee -a /etc/sudoers \
&& echo 'jenkins ALL=(ALL:ALL) NOPASSWD: ALL' | 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 - \ RUN curl https://packages.icinga.com/icinga.key | apt-key add - \
&& DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release) \ && 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 && echo "deb http://packages.icinga.com/debian icinga-${DIST} main" > /etc/apt/sources.list.d/${DIST}-icinga.list
......
...@@ -14,6 +14,8 @@ RUN groupadd -g 1000 jenkins \ ...@@ -14,6 +14,8 @@ RUN groupadd -g 1000 jenkins \
&& echo 'Defaults:jenkins !requiretty' | tee -a /etc/sudoers \ && echo 'Defaults:jenkins !requiretty' | tee -a /etc/sudoers \
&& echo 'jenkins ALL=(ALL:ALL) NOPASSWD: ALL' | 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 - \ RUN curl https://packages.icinga.com/icinga.key | apt-key add - \
&& DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release) \ && 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 && echo "deb http://packages.icinga.com/debian icinga-${DIST} main" > /etc/apt/sources.list.d/${DIST}-icinga.list
......
...@@ -14,6 +14,8 @@ RUN groupadd -g 1000 jenkins \ ...@@ -14,6 +14,8 @@ RUN groupadd -g 1000 jenkins \
&& echo 'Defaults:jenkins !requiretty' | tee -a /etc/sudoers \ && echo 'Defaults:jenkins !requiretty' | tee -a /etc/sudoers \
&& echo 'jenkins ALL=(ALL:ALL) NOPASSWD: ALL' | 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 - \ RUN curl https://packages.icinga.com/icinga.key | apt-key add - \
&& DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release) \ && 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 && echo "deb http://packages.icinga.com/debian icinga-${DIST} main" > /etc/apt/sources.list.d/${DIST}-icinga.list
......
...@@ -14,6 +14,8 @@ RUN groupadd -g 1000 jenkins \ ...@@ -14,6 +14,8 @@ RUN groupadd -g 1000 jenkins \
&& echo 'Defaults:jenkins !requiretty' | tee -a /etc/sudoers \ && echo 'Defaults:jenkins !requiretty' | tee -a /etc/sudoers \
&& echo 'jenkins ALL=(ALL:ALL) NOPASSWD: ALL' | 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 - \ RUN curl https://packages.icinga.com/icinga.key | apt-key add - \
&& DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release) \ && 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 && echo "deb http://packages.icinga.com/debian icinga-${DIST} main" > /etc/apt/sources.list.d/${DIST}-icinga.list
......
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