Skip to content

Commit af93237

Browse files
authored
Merge pull request #304 from authzed/use-chainguard-images
use chainguard images
2 parents 4686438 + 997bbcc commit af93237

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ COPY go.mod go.sum ./
66
COPY . .
77
RUN --mount=type=cache,target=/root/.cache/go-build --mount=type=cache,target=/go/pkg/mod go build ./cmd/...
88

9-
FROM alpine:3.19.1
9+
FROM cgr.dev/chainguard/static:latest
1010

1111
COPY --from=builder /go/src/app/validated-update-graph.yaml /opt/operator/config.yaml
1212
COPY --from=builder /go/src/app/spicedb-operator /usr/local/bin/spicedb-operator

Dockerfile.release

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# vim: syntax=dockerfile
2-
FROM gcr.io/distroless/base:nonroot
2+
FROM cgr.dev/chainguard/static:latest
33
COPY validated-update-graph.yaml /opt/operator/config.yaml
4-
COPY --from=ghcr.io/grpc-ecosystem/grpc-health-probe:v0.4.22 /ko-app/grpc-health-probe /usr/local/bin/grpc_health_probe
4+
COPY --from=ghcr.io/grpc-ecosystem/grpc-health-probe:v0.4.25 /ko-app/grpc-health-probe /usr/local/bin/grpc_health_probe
55
COPY spicedb-operator /usr/local/bin/spicedb-operator
66
ENTRYPOINT ["spicedb-operator"]

0 commit comments

Comments
 (0)