11# Icinga 2 Docker image | (c) 2025 Icinga GmbH | GPLv2+
22
3- FROM debian:bookworm -slim AS build-base
3+ FROM debian:trixie -slim AS build-base
44
55# Install all the necessary build dependencies for building Icinga 2 and the plugins.
66#
@@ -11,6 +11,7 @@ FROM debian:bookworm-slim AS build-base
1111#
1212# [^1]: https://docs.docker.com/build/building/best-practices/#create-reusable-stages
1313RUN apt-get update && \
14+ apt-get upgrade -y && \
1415 apt-get install -y --no-install-recommends --no-install-suggests \
1516 autoconf \
1617 automake \
@@ -20,17 +21,17 @@ RUN apt-get update && \
2021 flex \
2122 g++ \
2223 git \
23- libboost1.74 -dev \
24- libboost-context1.74 -dev \
25- libboost-coroutine1.74 -dev \
26- libboost-date-time1.74 -dev \
27- libboost-filesystem1.74 -dev \
28- libboost-iostreams1.74 -dev \
29- libboost-program-options1.74 -dev \
30- libboost-regex1.74 -dev \
31- libboost-system1.74 -dev \
32- libboost-thread1.74 -dev \
33- libboost-test1.74 -dev \
24+ libboost1.83 -dev \
25+ libboost-context1.83 -dev \
26+ libboost-coroutine1.83 -dev \
27+ libboost-date-time1.83 -dev \
28+ libboost-filesystem1.83 -dev \
29+ libboost-iostreams1.83 -dev \
30+ libboost-program-options1.83 -dev \
31+ libboost-regex1.83 -dev \
32+ libboost-system1.83 -dev \
33+ libboost-thread1.83 -dev \
34+ libboost-test1.83 -dev \
3435 libedit-dev \
3536 libmariadb-dev \
3637 libpq-dev \
@@ -134,30 +135,31 @@ RUN rm -rf /icinga2-install/etc/icinga2/features-enabled/mainlog.conf \
134135 strip -g /icinga2-install/usr/lib/nagios/plugins/check_nscp_api
135136
136137# Prepare the final image with the necessary configuration files and runtime dependencies.
137- FROM debian:bookworm -slim AS icinga2
138+ FROM debian:trixie -slim AS icinga2
138139
139140# The real UID of the Icinga user to be used in the final image.
140141ARG ICINGA_USER_ID=5665
141142
142143# Install the necessary runtime dependencies for the Icinga 2 binary and the monitoring-plugins.
143144RUN apt-get update && \
145+ apt-get upgrade -y && \
144146 DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends --no-install-suggests \
145147 bc \
146148 ca-certificates \
147149 curl \
148150 dumb-init \
149151 file \
150- libboost1.74 -dev \
151- libboost-context1.74 -dev \
152- libboost-coroutine1.74 -dev \
153- libboost-date-time1.74 -dev \
154- libboost-filesystem1.74 -dev \
155- libboost-iostreams1.74 -dev \
156- libboost-program-options1.74 -dev \
157- libboost-regex1.74 -dev \
158- libboost-system1.74 -dev \
159- libboost-thread1.74 -dev \
160- libboost-test1.74 -dev \
152+ libboost1.83 -dev \
153+ libboost-context1.83 -dev \
154+ libboost-coroutine1.83 -dev \
155+ libboost-date-time1.83 -dev \
156+ libboost-filesystem1.83 -dev \
157+ libboost-iostreams1.83 -dev \
158+ libboost-program-options1.83 -dev \
159+ libboost-regex1.83 -dev \
160+ libboost-system1.83 -dev \
161+ libboost-thread1.83 -dev \
162+ libboost-test1.83 -dev \
161163 libcap2-bin \
162164 libedit2 \
163165 libldap-common \
0 commit comments