From 596e7edd83c555d975230f8e0bea5824a06cec22 Mon Sep 17 00:00:00 2001
From: Henrik Triem <henrik.triem@netways.de>
Date: Thu, 19 May 2022 13:45:21 +0200
Subject: [PATCH] Add Icinga repo to buster

---
 Dockerfile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 8bc672e..f5ca3cb 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=buster \
+ && 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