Skip to content

Commit 3bf1e6e

Browse files
committed
Bump base image version to Debian 13 (trixie)
It's going to be released tomorrow, so let's use the latest Debian release as the base image while we are at it. Also run always `apt upgrade` to upgrade any outdated packages (if any).
1 parent 28aec98 commit 3bf1e6e

File tree

1 file changed

+26
-24
lines changed

1 file changed

+26
-24
lines changed

Containerfile

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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
1313
RUN 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.
140141
ARG ICINGA_USER_ID=5665
141142

142143
# Install the necessary runtime dependencies for the Icinga 2 binary and the monitoring-plugins.
143144
RUN 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

Comments
 (0)