Skip to content

Commit d7f4e62

Browse files
authored
feat: use Google managed Debian containers (#2173)
This is a port of #2159 for the v1 branch.
1 parent 7fdee41 commit d7f4e62

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile.bullseye

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} \
2626
go build -ldflags "-X main.metadataString=container.bullseye" -o cloud_sql_proxy ./cmd/cloud_sql_proxy
2727

2828
# Final stage
29-
FROM debian:bullseye
29+
FROM gcr.io/cloud-marketplace/google/debian11
3030
RUN apt-get update && apt-get install -y ca-certificates
3131
# Install fuse and allow enable non-root users to mount
3232
RUN apt-get update && apt-get install -y fuse && sed -i 's/^#user_allow_other$/user_allow_other/g' /etc/fuse.conf

Dockerfile.buster

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} \
2626
go build -ldflags "-X main.metadataString=container.buster" -o cloud_sql_proxy ./cmd/cloud_sql_proxy
2727

2828
# Final stage
29-
FROM debian:buster
29+
FROM gcr.io/cloud-marketplace/google/debian10
3030
RUN apt-get update && apt-get install -y ca-certificates
3131
# Install fuse and allow enable non-root users to mount
3232
RUN apt-get update && apt-get install -y fuse && sed -i 's/^#user_allow_other$/user_allow_other/g' /etc/fuse.conf

0 commit comments

Comments
 (0)