Files
cairnobs/deploy/docker/Dockerfile
T
jcoffey-dev db156c4f06
release / release (push) Successful in 7m6s
Cairn OBS
The new Cairn OBS: a self-hosted monitor for networks, hosts and
services. Licensed AGPLv3.
2026-11-14 03:27:09 -07:00

11 lines
575 B
Docker

# The obs-beacond image: the static binary and the host's CA bundle, nothing else.
# hosts-baseline's beacon-apply.sh assembles the build context (obs-beacond from
# `make`, ca-certificates.crt from the host) and runs it with the host's
# obs-beacon user, read-only, all capabilities dropped. The published image
# (at launch) also needs THIRD_PARTY_NOTICES.md and LICENSE in it.
FROM scratch
COPY ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
COPY obs-beacond /obs-beacond
USER 65534:65534
ENTRYPOINT ["/obs-beacond", "-config", "/etc/obs-beacon/obs-beacond.yaml"]