Commit graph

5 commits

Author SHA1 Message Date
Julian Brost
d337826415 Containerfile: allow running the binary without absolute path
This sets the PATH environment variable so that the binary installed to the
container image can be found by just its name. This makes it nicer to manually
provide a command by the container, so for example, now "docker run --rm -it
icinga/icingadb:dev icingadb --version" works. The binary is still installed
under the same path, so it can still be invoked using the same absolute path as
before.
2025-04-02 11:22:15 +02:00
Alexander Aleksandrovič Klimov
ad18f9fd5b
Containerfile: order layers by how likely they change over time
This caches more layers users don't have to download.
2025-03-31 15:08:31 +02:00
Alvar Penning
8ea9d01aa1 Containerfile: Fix vcs info not stamped when listing .go files directly
See https://github.com/golang/go/issues/51279 for reference.

Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2025-03-31 13:58:26 +02:00
Alvar Penning
aee2d315ba Containerfile: Add and auto-import database schema
Signed-off-by: Eric Lippmann <eric.lippmann@icinga.com>
2025-03-31 13:58:26 +02:00
Eric Lippmann
e0f20bfa0e Add Containerfile
Previously, we used https://github.com/Icinga/docker-icingadb to build and push
container images because Icinga DB did not support features necessary for
containerization, such as automatic schema import and configuration via
environment variables. These were handled by a specific entrypoint in that
repository. Now that these features are implemented directly in Icinga DB, the
repository is no longer needed, and container images can be built and pushed
directly from this repository.
2025-03-31 13:58:26 +02:00