Skip to content

Commit

Permalink
Use the debian 12-based distroless image (#4)
Browse files Browse the repository at this point in the history
Otherwise the container fails with

```
/webpush-fcm-relay: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /webpush-fcm-relay)
```
  • Loading branch information
renchap committed Apr 11, 2024
1 parent 5675434 commit c5f630c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN go mod download
COPY *.go ./
RUN go build -o webpush-fcm-relay

FROM gcr.io/distroless/base
FROM gcr.io/distroless/base-debian12
COPY --from=build-env /go/src/webpush-fcm-relay/webpush-fcm-relay /

ARG GIT_REPOSITORY_URL
Expand Down

0 comments on commit c5f630c

Please sign in to comment.