| 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 |
| 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 |
| WORKDIR /app |
| COPY file:507187bd049cc3f1877a0ac2ee53e91800fc8857d71fa48dfb1e1d9c7a8f4ed9 in /app/cc-ota |
| COPY dir:934e4ad259ef601f2261a7c48288c7a1cd7609f3a577b0584247840e15f64033 in /app/static |
| COPY dir:e9001bfd02bd365f6ba4cf3e4258140e526cdc96c5ad8cdbe0f1a30dae2c3586 in /app/agent |
| USER nonroot:nonroot |
| ENV OTA_DATA_DIR=/data BIND=0.0.0.0:8080 RUST_LOG=info,cc_ota=info,tower_http=info |
| EXPOSE 8080 |
| VOLUME ["/data"] |
| ENTRYPOINT ["/app/cc-ota"] |