- alloy 1.x renamed the server component to ui; the old block failed the initial load and the container crash-looped - grafana/loki is distroless and grafana/alloy lacks wget, so their healthchecks could never run; local images add a static busybox from alpine for that one command - deploy.sh builds all three local images if missing - tests: 3 new seams
15 lines
543 B
Docker
15 lines
543 B
Docker
# Alloy + a static busybox.
|
|
#
|
|
# grafana/alloy has a shell but no wget/curl, so the compose healthcheck
|
|
# cannot run anything inside the container. This image drops a static
|
|
# busybox into it for the healthcheck command only. All Alloy behavior is
|
|
# unchanged.
|
|
#
|
|
# Build on dankclaw:
|
|
# podman build -t franksdank/alloy:latest -f dankclaw/alloy/Containerfile .
|
|
|
|
FROM docker.io/library/alpine:latest AS tools
|
|
# busybox provides wget for the healthcheck.
|
|
|
|
FROM docker.io/grafana/alloy:latest
|
|
COPY --from=tools /bin/busybox /usr/local/bin/busybox |