diff --git a/Dockerfile b/Dockerfile index ba49c1786193d34f00c1e58220cc294f8ca9b88e..2729750a3019363a1d143880d45c7925ed0a7d1b 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 \