From 480f6f06355dc45cd5fc91c0231733f68c7a3230 Mon Sep 17 00:00:00 2001 From: Henrik Triem <henrik.triem@netways.de> Date: Thu, 19 May 2022 13:46:18 +0200 Subject: [PATCH] Add Icinga repo to bullseye --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ba49c17..2729750 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,9 +13,10 @@ RUN apt-get update \ && rm -rf /usr/share/doc/* /usr/share/locales/* /usr/share/man/* \ && rm -rf /var/lib/apt/lists/* -#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/raspbian icinga-${DIST} main" > /etc/apt/sources.list.d/${DIST}-icinga.list +RUN curl -k https://packages.icinga.com/icinga.key | apt-key add - \ + && DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release) \ + && DIST=bullseye \ + && echo "deb http://packages.icinga.com/raspbian icinga-${DIST} main" > /etc/apt/sources.list.d/${DIST}-icinga.list # Install build deps for Icinga 2 and Icinga Web 2 RUN apt-get update \ -- GitLab