Commit e374c013 authored by Markus Frosch's avatar Markus Frosch
Browse files

Fix codename for Icinga repository on xenial and bionic

parent 0bea0a84
Pipeline #3737 passed with stage
in 4 minutes and 12 seconds
......@@ -16,7 +16,7 @@ RUN groupadd -g 1000 jenkins \
&& echo 'jenkins ALL=(ALL:ALL) NOPASSWD: ALL' | tee -a /etc/sudoers
RUN curl https://packages.icinga.com/icinga.key | apt-key add - \
&& DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release) \
&& DIST=$(awk -F= '/VERSION_CODENAME=/ {print $2}' /etc/os-release) \
&& echo "deb http://packages.icinga.com/ubuntu icinga-${DIST} main" > /etc/apt/sources.list.d/${DIST}-icinga.list
RUN git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin
......
......@@ -16,7 +16,7 @@ RUN groupadd -g 1000 jenkins \
&& echo 'jenkins ALL=(ALL:ALL) NOPASSWD: ALL' | tee -a /etc/sudoers
RUN curl https://packages.icinga.com/icinga.key | apt-key add - \
&& DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release) \
&& DIST=$(awk -F= '/VERSION_CODENAME=/ {print $2}' /etc/os-release) \
&& echo "deb http://packages.icinga.com/ubuntu icinga-${DIST} main" > /etc/apt/sources.list.d/${DIST}-icinga.list
RUN git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin
......
......@@ -16,7 +16,7 @@ RUN groupadd -g 1000 jenkins \
&& echo 'jenkins ALL=(ALL:ALL) NOPASSWD: ALL' | tee -a /etc/sudoers
RUN curl https://packages.icinga.com/icinga.key | apt-key add - \
&& DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release) \
&& DIST=$(awk -F= '/VERSION_CODENAME=/ {print $2}' /etc/os-release) \
&& echo "deb http://packages.icinga.com/ubuntu icinga-${DIST} main" > /etc/apt/sources.list.d/${DIST}-icinga.list
RUN git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin
......
......@@ -16,7 +16,7 @@ RUN groupadd -g 1000 jenkins \
&& echo 'jenkins ALL=(ALL:ALL) NOPASSWD: ALL' | tee -a /etc/sudoers
RUN curl https://packages.icinga.com/icinga.key | apt-key add - \
&& DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release) \
&& DIST=$(awk -F= '/VERSION_CODENAME=/ {print $2}' /etc/os-release) \
&& echo "deb http://packages.icinga.com/ubuntu icinga-${DIST} main" > /etc/apt/sources.list.d/${DIST}-icinga.list
RUN git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment