Skip to content

Commit

Permalink
feat: use Google managed Debian containers (#2173)
Browse files Browse the repository at this point in the history
This is a port of #2159
for the v1 branch.
  • Loading branch information
enocom authored Apr 3, 2024
1 parent 7fdee41 commit d7f4e62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.bullseye
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} \
go build -ldflags "-X main.metadataString=container.bullseye" -o cloud_sql_proxy ./cmd/cloud_sql_proxy

# Final stage
FROM debian:bullseye
FROM gcr.io/cloud-marketplace/google/debian11
RUN apt-get update && apt-get install -y ca-certificates
# Install fuse and allow enable non-root users to mount
RUN apt-get update && apt-get install -y fuse && sed -i 's/^#user_allow_other$/user_allow_other/g' /etc/fuse.conf
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.buster
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} \
go build -ldflags "-X main.metadataString=container.buster" -o cloud_sql_proxy ./cmd/cloud_sql_proxy

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

0 comments on commit d7f4e62

Please sign in to comment.