| 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 |
| LABEL org.opencontainers.image.source=https://git.at.oechsler.it/samuel/signme |
| WORKDIR /signme |
| COPY /usr/share/zoneinfo /usr/share/zoneinfo # buildkit |
| COPY /out/server /signme/server # buildkit |
| COPY /out/healthcheck /signme/healthcheck # buildkit |
| COPY /src/delivery/web/static /signme/delivery/web/static # buildkit |
| EXPOSE [8080/tcp] |
| HEALTHCHECK {Test:[CMD /signme/healthcheck] Interval:30s Timeout:5s StartPeriod:15s StartInterval:0s Retries:3} |
| CMD ["/signme/server"] |