| 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 |
| LABEL org.opencontainers.image.title=Kestrove server org.opencontainers.image.description=Kestrove sync server (single user, end-to-end encrypted; it never sees your passwords) org.opencontainers.image.licenses=Apache-2.0 |
| COPY --chown=65532:65532 /data-init /data # buildkit |
| COPY /src/kestrove-server/target/release/kestrove-server /app/kestrove-server # buildkit |
| WORKDIR /app |
| ENV KV_DATABASE=sqlite:///data/kestrove.db KV_BIND=0.0.0.0:8080 RUST_LOG=info |
| USER nonroot |
| EXPOSE [8080/tcp] |
| ENTRYPOINT ["/app/kestrove-server"] |