+4
-3
Dockerfile
+4
-3
Dockerfile
···
22
# - atproto-record: 2 binaries (sign, verify)
23
# - atproto-client: 3 binaries (auth, app-password, dpop)
24
# - atproto-oauth-axum: 1 binary (oauth-tool)
25
# - atproto-xrpcs-helloworld: 1 binary (xrpcs-helloworld)
26
-
# - atproto-jetstream: 1 binary (jetstream-consumer)
27
-
RUN cargo build --release --bins -F clap,zeroize
28
29
# Runtime stage - use distroless for minimal attack surface
30
FROM gcr.io/distroless/cc-debian12
···
66
LABEL org.opencontainers.image.licenses="MIT"
67
68
# Document available binaries
69
-
LABEL binaries="atproto-identity-resolve,atproto-identity-key,atproto-identity-sign,atproto-identity-validate,atproto-record-sign,atproto-record-verify,atproto-client-auth,atproto-client-app-password,atproto-client-dpop,atproto-oauth-tool,atproto-xrpcs-helloworld,atproto-jetstream-consumer"
···
22
# - atproto-record: 2 binaries (sign, verify)
23
# - atproto-client: 3 binaries (auth, app-password, dpop)
24
# - atproto-oauth-axum: 1 binary (oauth-tool)
25
+
# - atproto-jetstream: 1 binary (jetstream-consumer)
26
# - atproto-xrpcs-helloworld: 1 binary (xrpcs-helloworld)
27
+
# Note: atproto-identity-resolve requires hickory-dns feature
28
+
RUN cargo build --release --bins -F clap,hickory-dns,zeroize
29
30
# Runtime stage - use distroless for minimal attack surface
31
FROM gcr.io/distroless/cc-debian12
···
67
LABEL org.opencontainers.image.licenses="MIT"
68
69
# Document available binaries
70
+
LABEL binaries="atproto-identity-resolve,atproto-identity-key,atproto-identity-sign,atproto-identity-validate,atproto-record-sign,atproto-record-verify,atproto-client-auth,atproto-client-app-password,atproto-client-dpop,atproto-oauth-tool,atproto-jetstream-consumer,atproto-xrpcs-helloworld"