power-loss (sha256:9774f502e59aab80eb786eeee0caf37b4f62102dd2d4159c5301b27bab5dc6ea)
Published 2026-11-17 07:11:32 +00:00 by thomastu
Installation
docker pull git.thomastu.dev/thomastu/power-loss@sha256:9774f502e59aab80eb786eeee0caf37b4f62102dd2d4159c5301b27bab5dc6easha256:9774f502e59aab80eb786eeee0caf37b4f62102dd2d4159c5301b27bab5dc6eaImage 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"] |