28 Commits

Author SHA1 Message Date
Alvar Penning
9cc5ef5147
Dockerfile: Write "FROM ... AS" consistently in caps
Doing so silences the warnings.

> 6 warnings found (use docker --debug to expand):
> - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 3)
> - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 11)
> - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 25)
> - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 63)
> - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 97)
> - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 122)
2025-04-15 09:36:36 +02:00
Alexander A. Klimov
6a4a836eea Bump base image version
libssl1.1 is now called libssl3.
2024-11-12 16:45:28 +01:00
Alexander Aleksandrovič Klimov
9a7d3835ee
Dockerfile: apt-get upgrade -y to get the latest packages
regardless of the image being up to date or not.
2024-11-11 17:36:26 +01:00
Michael Johnson
e80c6047c4 Update and Fix check_ssl_cert
Add missing dependencies required by the check_ssl_cert command. Update command to most recent release version, which fixes problems like OCSP checks.
2024-06-18 10:50:12 -07:00
Alexander Aleksandrovič Klimov
950413872a
make test: print error on failure
This simplifies debugging tests.
2023-11-23 13:05:39 +01:00
Thomas Weißschuh
316bf3c175 Enable systemd integration
podman is able to pass systemd notification sockets through to the
containerized application.
By enabling the systemd integration in icinga2 the host systemd is able
to see the runtime status of the containerized icinga2 instance,
especially for startup notifications.

libsystemd is already installed in the base image so no new runtime
dependency is introduced.
An explicit installation is added for more clarity.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
2023-11-14 13:38:32 +01:00
Julian Brost
717a0a3976
Merge pull request #86 from Icinga/lto
Disable LTO
2023-06-27 16:59:18 +02:00
Alexander A. Klimov
faecd36aa6 Dockerfile: also install monitoring-plugins' recommendations
so that everything works as expected. Contra: +100MB/33% image size. New packages:

bind9-dnsutils bind9-host bind9-libs dbus dirmngr dnsutils gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm libapparmor1 libarchive13 libassuan0 libavahi-client3 libavahi-common-data libavahi-common3 libcups2 libdbi1 libdbus-1-3 libfstrm0 libgpgme11 libjansson4 libjson-c5 libksba8 libldb2 liblmdb0 libmaxminddb0 libnet-snmp-perl libnpth0 libpci3 libpopt0 libprotobuf-c1 libpython3-stdlib libradcli4 libsensors-config libsensors5 libsmbclient libsnmp-base libsnmp40 libtalloc2 libtdb1 libtevent0 liburiparser1 libuv1 libwbclient0 libwrap0 libxml2 pci.ids pinentry-curses psmisc python3 python3-gpg python3-ldb python3-minimal python3-samba python3-talloc python3-tdb python3.9 python3.9-minimal rpcbind samba-common samba-common-bin samba-dsdb-modules samba-libs smbclient snmp sudo
2023-02-23 14:28:17 +01:00
Alexander A. Klimov
398ee46ef5 Disable LTO
* Image size: +1.3%
* Build time: -31.8%
* Build time w/ ccache: -94.1%
2023-01-18 16:40:41 +01:00
Alexander A. Klimov
d1fdb43ee0 Get rid of temp dir $TMPBLDCTX 2023-01-16 15:15:53 +01:00
Alexander A. Klimov
cea2e2b011 Re-enable ccache for developers 2023-01-16 13:30:22 +01:00
Alexander A. Klimov
7e5e4bc5bc Integrate icinga2 daemon -C into Dockerfile
to have it on all platforms.
2023-01-05 14:07:30 +01:00
Alexander A. Klimov
4644e3e396 Build not only x64
refs #27
2023-01-05 14:07:30 +01:00
Alexander A. Klimov
2f82690e10 Simplify build process
refs #27
2023-01-05 14:07:28 +01:00
Alexander A. Klimov
86814d911d Don't ship Boost dev files
to reduce image size 709MB -> 410MB.
2022-12-22 16:59:43 +01:00
Alexander A. Klimov
fcd5b071f8 Require Boost.Iostreams 2022-07-25 17:34:14 +02:00
Alexander Aleksandrovič Klimov
d5fda45b87
Install libldap-common
... to restore /etc/ldap/ldap.conf check_ldap wants.
2022-04-20 12:22:59 +02:00
Julian Brost
af0e453a08
Merge pull request #68 from Icinga/feature/bullseye
Upgrade Debian 10 -> 11
2022-01-12 16:59:52 +01:00
Eric Lippmann
753f88f305 Expose port 5665
That way, the port is automatically mapped when using the publish
all option and is automatically exposed when port mapping in the
SDK is used. This is also useful in terms of documentation.
2021-11-24 15:58:02 +01:00
Alexander A. Klimov
48089afb83 Upgrade Debian 10 -> 11 2021-11-02 11:46:26 +01:00
Alexander A. Klimov
d6881ae03b Merge Dockerfiles
Rationale: for security reasons include the latest deps, at least in release images.
Therefore include them everywhere, so the CI warns early enough.
2021-06-24 16:36:40 +02:00
Alexander A. Klimov
1ffe590ab2 Don't create volumes implicitly 2020-08-24 11:18:15 +02:00
Alexander A. Klimov
a8cb3eb1ea Add license headers 2020-07-22 14:00:32 +02:00
Alexander A. Klimov
b33ba58a25 entrypoint/: initialize /data
refs #1
2020-06-22 16:29:50 +02:00
Alexander A. Klimov
e9c7792d1f Dockerfile: run Icinga 2 2020-06-19 11:02:18 +02:00
Alexander A. Klimov
183233801f action.yml: checkout the source, build a Docker image and push it 2020-06-18 13:16:43 +02:00
Alexander A. Klimov
7c36ba6643 Revert "Initial import of raw version"
This reverts commit 34c7cf0f116b7ac2269acd002d53c2b9632d3958.
2020-06-15 18:07:52 +02:00
Thomas Widhalm
34c7cf0f11 Initial import of raw version 2020-04-29 16:37:26 +02:00