diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-21 16:20:32 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-21 16:20:32 -0600 |
| commit | 44e0d272c040cdc53a98b9f1dc58ae7da67752e6 (patch) | |
| tree | 1d7d676bd96b37c4c042f4ddf0ef89cbe69a5fb0 /Dockerfile | |
| parent | 01c0c7624a64d80c56862770bbededfa35977b2e (diff) | |
chore: install spicedb
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -8,6 +8,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 authzed/spicedb:latest AS spicedb-binary + # Build stage for sparkle FROM golang:1.24-alpine AS build ENV CGO_ENABLED=0 @@ -24,8 +27,9 @@ WORKDIR / USER root RUN ["/busybox/sh", "-c", "ln -s /busybox/sh /bin/sh"] USER nonroot -COPY --from=envoy-binary /usr/local/bin/envoy /bin/envoy COPY --from=dumb-init-builder /usr/bin/dumb-init /bin/dumb-init +COPY --from=envoy-binary /usr/local/bin/envoy /bin/envoy +COPY --from=spicedb-binary /usr/local/bin/spicedb /bin/spicedb COPY --from=build /app/Procfile /Procfile COPY --from=build /app/bin/envoy-shim /bin/envoy-shim COPY --from=build /app/etc/envoy /etc/envoy |
