power-loss (sha256:1cbd30b13542b6296051d696e420e082d79cc460228c23bf2f750418ca46bdf5)
Published 2026-11-20 08:03:45 +00:00 by thomastu
Installation
docker pull git.thomastu.dev/thomastu/power-loss@sha256:1cbd30b13542b6296051d696e420e082d79cc460228c23bf2f750418ca46bdf5sha256:1cbd30b13542b6296051d696e420e082d79cc460228c23bf2f750418ca46bdf5Image layers
| 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 |
| COPY /out/power-loss /usr/local/bin/power-loss # buildkit |
| COPY --chown=65532:65532 /out/data /data # buildkit |
| ENV APP_ENV=production APP_ADDR=0.0.0.0:8080 DATA_DIR=/data RUST_LOG=info |
| VOLUME [/data] |
| EXPOSE [8080/tcp] |
| USER nonroot |
| ENTRYPOINT ["power-loss"] |
| CMD ["serve"] |