optimize basic installs
All checks were successful
build container icinga2 / build (push) Successful in 2m34s
All checks were successful
build container icinga2 / build (push) Successful in 2m34s
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
FROM debian:bookworm-slim
|
FROM debian:bookworm-slim
|
||||||
LABEL maintainer="docker@ao-it.net"
|
LABEL maintainer="docker@ao-it.net"
|
||||||
|
|
||||||
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
## prepare requirements
|
## prepare requirements
|
||||||
RUN ["bash", "-exo", "pipefail", "-c", "\
|
RUN ["bash", "-exo", "pipefail", "-c", "\
|
||||||
export DEBIAN_FRONTEND=noninteractive ; \
|
|
||||||
apt update ; \
|
apt update ; \
|
||||||
apt install -y wget gnupg ; \
|
apt install -y wget gnupg ; \
|
||||||
wget -O - https://packages.icinga.com/icinga.key | \
|
wget -O - https://packages.icinga.com/icinga.key | \
|
||||||
@@ -16,7 +16,6 @@ RUN ["bash", "-exo", "pipefail", "-c", "\
|
|||||||
|
|
||||||
## install icinga2
|
## install icinga2
|
||||||
RUN ["bash", "-exo", "pipefail", "-c", "\
|
RUN ["bash", "-exo", "pipefail", "-c", "\
|
||||||
export DEBIAN_FRONTEND=noninteractive ; \
|
|
||||||
apt update ; \
|
apt update ; \
|
||||||
apt install -y icinga2 monitoring-plugins ; \
|
apt install -y icinga2 monitoring-plugins ; \
|
||||||
mkdir -p /run/icinga2 ; \
|
mkdir -p /run/icinga2 ; \
|
||||||
|
|||||||
Reference in New Issue
Block a user