# Tiny init-container image. No app code, no shell-injection surface — script # only sees env vars set by the orchestrator. FROM busybox:1.37-musl # Run as non-root (UID 1000 inside the container; with userns_mode this is # remapped to host UID ~101000 — fully unprivileged on the host). RUN adduser -D -u 1000 loader COPY entrypoint.sh /usr/local/bin/loader RUN chmod +x /usr/local/bin/loader USER loader WORKDIR /app ENTRYPOINT ["/usr/local/bin/loader"]