Skip to content

Commit fbec17b

Browse files
feat: add support for Debian bookworm (#2267)
Add support for Debian 12 "bookworm" and remove support for Debian 10 "buster" as its LTS ended on June 30.
1 parent 52cd0d9 commit fbec17b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2020 Google LLC
1+
# Copyright 2024 Google LLC
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -23,10 +23,10 @@ ARG TARGETARCH
2323

2424
RUN go get ./...
2525
RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} \
26-
go build -ldflags "-X github.com/GoogleCloudPlatform/cloud-sql-proxy/v2/cmd.metadataString=container.buster"
26+
go build -ldflags "-X github.com/GoogleCloudPlatform/cloud-sql-proxy/v2/cmd.metadataString=container.bookworm"
2727

2828
# Final stage
29-
FROM gcr.io/cloud-marketplace-containers/google/debian10@sha256:bf5274d185680301f076431113bb7f7e21c7748dec0e066166d4bd02a8ff1c09
29+
FROM gcr.io/cloud-marketplace-containers/google/debian12@sha256:9df4cf8df3a3466796d76692ddda1fdcbe5018a2810d332c9a99e2ee2325b6cf
3030

3131
LABEL org.opencontainers.image.source="https://github.com/GoogleCloudPlatform/cloud-sql-proxy"
3232

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ currently supported:
404404

405405
- `$VERSION` (default)
406406
- `$VERSION-alpine`
407-
- `$VERSION-buster`
407+
- `$VERSION-bookworm`
408408
- `$VERSION-bullseye`
409409

410410
<!-- {x-release-please-start-version} -->
@@ -423,7 +423,7 @@ We recommend pinning to a specific version tag and using automation with a CI pi
423423
to update regularly.
424424

425425
The default container image uses [distroless][] with a non-root user. If you
426-
need a shell or related tools, use the Alpine or Buster images listed above.
426+
need a shell or related tools, use the Alpine or Bookworm images listed above.
427427

428428
[distroless]: https://github.com/GoogleContainerTools/distroless
429429

0 commit comments

Comments
 (0)