diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-14 13:56:11 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-14 13:56:11 -0600 |
| commit | 8a16f4388896e3be4e9994d82ca002156b2381de (patch) | |
| tree | a5ca94b3e524fce7026d8b3716bb552b79022881 /Dockerfile | |
| parent | 5c9e5b297cdf5d761740e6604b1e36d390aa86a8 (diff) | |
chore: install spicedb binary in docker image
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -20,6 +20,9 @@ RUN apt-get update && apt-get install -y wget && \ wget -O /usr/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.5/dumb-init_1.2.5_x86_64 && \ chmod +x /usr/bin/dumb-init +# Build stage for getting SpiceDB binary +FROM ghcr.io/authzed/spicedb:latest AS spicedb-binary + # Final stage FROM gcr.io/distroless/base-debian12:nonroot EXPOSE 20000 @@ -31,6 +34,7 @@ COPY --from=authzd-builder /app/target/x86_64-unknown-linux-musl/release/authzd COPY --from=envoy-binary /usr/local/bin/envoy /bin/envoy COPY --from=minit-builder /go/bin/minit /bin/minit COPY --from=dumb-init-builder /usr/bin/dumb-init /usr/bin/dumb-init +COPY --from=spicedb-binary /usr/local/bin/spicedb /bin/spicedb ENTRYPOINT ["/usr/bin/dumb-init", "--"] CMD ["/bin/minit"] |
