| bazel build @bookworm//base-files/amd64:data_statusd |
| bazel build @bookworm//netbase/amd64:data_statusd |
| bazel build @bookworm//tzdata/amd64:data_statusd |
| bazel build @bookworm//media-types/amd64:data_statusd |
| bazel build //common:rootfs |
| bazel build //common:passwd |
| bazel build //common:home |
| bazel build //common:group |
| bazel build //common:tmp |
| bazel build //static:nsswitch |
| bazel build //common:os_release_debian12 |
| bazel build //common:cacerts_debian12_amd64_tar |
| bazel build @bookworm//libc6/amd64:data_statusd |
| bazel build @bookworm//libssl3/amd64:data_statusd |
| bazel build @bookworm//libgomp1/amd64:data_statusd |
| bazel build @bookworm//libstdc++6/amd64:data_statusd |
| bazel build @bookworm//libgcc-s1/amd64:data_statusd |
| bazel build @bookworm//gcc-12-base/amd64:data_statusd |
| ARG VERSION=dev |
| ARG REVISION=unknown |
| ARG CREATED=unknown |
| LABEL org.opencontainers.image.vendor=Pagoda org.opencontainers.image.licenses=LicenseRef-Proprietary org.opencontainers.image.version=0.1.40 org.opencontainers.image.revision=93a0f766ae38bbc8067333271398c2d0b9453929 org.opencontainers.image.created=2026-10-06T12:04:31Z org.opencontainers.image.base.name=gcr.io/distroless/cc-debian12:nonroot |
| COPY --chown=65532:65532 /out/var/lib/pagoda /var/lib/pagoda # buildkit |
| USER 65532:65532 |
| WORKDIR /var/lib/pagoda |
| ENV PAGODA_LOG_JSON=true PAGODA_LOCAL_KEY_DIR=/var/lib/pagoda/keys |
| LABEL org.opencontainers.image.title=pagoda-secrets org.opencontainers.image.description=Pagoda RMM secrets service (internal) |
| COPY /out/bin/pagoda-secrets /usr/local/bin/pagoda-secrets # buildkit |
| ENV PAGODA_SECRETS_LISTEN=0.0.0.0:8090 PAGODA_SECRETS_HEALTH_LISTEN=127.0.0.1:8091 |
| EXPOSE map[8090/tcp:{}] |
| HEALTHCHECK &{["CMD" "/usr/local/bin/pagoda-secrets" "healthcheck"] "15s" "5s" "1m0s" "0s" '\x03'} |
| ENTRYPOINT ["/usr/local/bin/pagoda-secrets"] |