113 Commits

Author SHA1 Message Date
Alexander A. Klimov
dfaad32782 Also build linux/arm/v5 2023-01-19 10:21:16 +01:00
Alexander A. Klimov
bfe0b9d18e Also build linux/386 2023-01-19 10:18:28 +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
2a225c54cf Create all tags, not just vX.Y.Z 2023-01-17 17:43:09 +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
532643ef28 Use docker buildx build everywhere 2023-01-16 10:59:22 +01:00
Alexander A. Klimov
ba659f953d Don't name done things "TODO"
for the sake of grep TODO.
2023-01-16 10:49:36 +01:00
Alexander A. Klimov
99242beb06 Make action a composite one so it can install needed qemu-user-static 2023-01-05 17:17:59 +01:00
Alexander A. Klimov
566dbfa1de Push all architectures in GHA context 2023-01-05 14:07:30 +01:00
Alexander A. Klimov
13359bae50 GHA: build all platforms 2023-01-05 14:07:30 +01:00
Alexander A. Klimov
18809351af Build only for build host by default 2023-01-05 14:07:30 +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
Julian Brost
bdc7cbd335
Merge pull request #85 from Icinga/84
Reduce image size 1GB -> 0.3GB
2023-01-04 10:34:43 +01:00
Alexander A. Klimov
e9b428ee66 Don't ship our docs (10MB) 2022-12-22 17:29:35 +01:00
Alexander A. Klimov
95495f0a12 strip -g /usr/lib/nagios/plugins/check_nscp_api
to reduce image size 410MB -> 313MB.
2022-12-22 17:25:15 +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
d325355f9e strip -g /usr/lib/*/icinga2/sbin/icinga2
to reduce image size 937MB -> 709MB.
2022-12-22 15:36:03 +01:00
Alexander A. Klimov
7422a5fe62 Enable LTO build
to reduce image size 1GB -> 937MB.
2022-12-22 14:35:21 +01:00
Alexander Aleksandrovič Klimov
77ed19d442
Merge pull request #81 from Icinga/iostreams
Require Boost.Iostreams
2022-07-26 11:28:01 +02:00
Alexander A. Klimov
fcd5b071f8 Require Boost.Iostreams 2022-07-25 17:34:14 +02:00
Julian Brost
4c07549d11
Merge pull request #80 from Icinga/sync-readme
GHA: sync README.md to Docker Hub
2022-07-21 14:30:12 +02:00
Alexander A. Klimov
00104a1e80 GHA: sync README.md to Docker Hub 2022-07-20 15:54:00 +02:00
Julian Brost
67233fe562
Merge pull request #46 from Icinga/bugfix/init-volumes-45
Tell users how not to use volumes
2022-04-25 11:32:19 +02:00
Julian Brost
0aecc4c15f
Merge pull request #79 from Icinga/Al2Klimov-patch-1
Install libldap-common
2022-04-20 15:03:51 +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
Alexander Aleksandrovič Klimov
cb3fce792f
Merge pull request #76 from Icinga/bugfix/actually-run-tests
Actually run tests
2022-02-23 10:34:54 +01:00
Julian Brost
3e1d83bebc Actually run tests
BoostTestTargets is somewhat strange and seems to just not build or run tests
at all when the libboost-test-dev package is missing.
2022-02-22 14:50:03 +01:00
Julian Brost
af0e453a08
Merge pull request #68 from Icinga/feature/bullseye
Upgrade Debian 10 -> 11
2022-01-12 16:59:52 +01:00
Alexander A. Klimov
cd25f8c0b2 Tell users how not to use volumes
refs #45
2022-01-12 12:14:28 +01:00
Alexander Aleksandrovič Klimov
fece047602
Merge pull request #71 from Icinga/expose-5665
Expose port 5665
2022-01-12 11:37:16 +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
Julian Brost
2cf967828b Make icinga2 --version display the actual git version
By default, actions/checkout sets fetch-depth to 1, meaning it will not fetch
enough information to use `git describe --tags` as used by our CMakeLists to
determine the version number. Setting it to 0 means to fetch all history.
2021-11-23 11:32:27 +01:00
Alexander A. Klimov
48089afb83 Upgrade Debian 10 -> 11 2021-11-02 11:46:26 +01:00
Alexander Aleksandrovič Klimov
76b7f7b2e3
Merge pull request #66 from Icinga/feature/test-image
Also test built image
2021-07-06 16:33:39 +02:00
Alexander A. Klimov
ccd8cce186 Also test built image
... via icinga2 daemon -C.

Not to accidentally miss new dependencies.
2021-07-06 13:34:24 +02:00
Noah Hilverling
d1f651ab92
Merge pull request #64 from Icinga/bugfix/deps
Merge Dockerfiles
2021-06-28 14:53:37 +02: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 Aleksandrovič Klimov
e14e260a19
Merge pull request #49 from mcktr/bugfix/missing-package
Add package libcap2-bin for POSIX 1003.1e capabilities
2021-05-26 17:10:36 +02:00
Alexander Aleksandrovič Klimov
1c00cf5d35
Merge branch 'master' into bugfix/missing-package 2021-05-26 16:51:53 +02:00
Noah Hilverling
e230d60db3
Merge pull request #59 from Icinga/dependabot/add-v2-config-file
Upgrade to GitHub-native Dependabot
2021-04-30 16:16:58 +02:00
dependabot-preview[bot]
761fa7b0f7
Upgrade to GitHub-native Dependabot 2021-04-29 15:45:39 +00:00
Alexander Aleksandrovič Klimov
7829b55432
Merge pull request #58 from Icinga/doc-build-macos-1
Document coreutils req for building on macOS
2021-04-28 15:51:05 +02:00
Eric Lippmann
34b7bfe657
Document coreutils req for building on macOS 2021-04-28 13:55:29 +02:00
Alexander Aleksandrovič Klimov
6612d38310
Merge pull request #56 from Icinga/dependabot/go_modules/entrypoint/github.com/otiai10/copy-1.5.1
Bump github.com/otiai10/copy from 1.5.0 to 1.5.1 in /entrypoint
2021-04-08 13:32:41 +02:00
dependabot-preview[bot]
5dab413ab7
Bump github.com/otiai10/copy from 1.5.0 to 1.5.1 in /entrypoint
Bumps [github.com/otiai10/copy](https://github.com/otiai10/copy) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/otiai10/copy/releases)
- [Commits](https://github.com/otiai10/copy/compare/v1.5.0...v1.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-08 10:59:41 +00:00
Alexander Aleksandrovič Klimov
2270a0f362
Merge pull request #55 from dwt/feature/add_curl
Add curl to the image to allow integration of scripts that use webhooks without modifying the base image.
2021-03-03 13:35:47 +01:00
Martin Häcker
88912f0c84 Add curl to the image to allow integration of scripts that use webhooks without modifying the base image. 2021-03-03 13:09:47 +01:00