Files
AFFiNE/.github/deployment/cloud-sql-proxy/Dockerfile
T
DarkSky e32f8dce04 chore: bump deps (#15729)
#### PR Dependency Tree


* **PR #15729** 👈

This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Deployment**
* Updated the Cloud SQL Proxy image and integrated it with deployment
charts.
* Containers now run with stricter security settings, including non-root
execution and read-only filesystems.
* **Desktop**
* Updated Electron and Node versions and adjusted Windows builds to
support multiple architectures.
* **Maintenance**
  * Updated Vite and Storybook versions across development tools.
  * Improved production GraphQL schema handling.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-10-22 16:38:31 +08:00

9 lines
293 B
Docker

FROM golang:1.27-bookworm AS build
ENV CGO_ENABLED=0
RUN go install -trimpath -ldflags="-s -w" github.com/GoogleCloudPlatform/cloud-sql-proxy/v2@v2.26.2
FROM gcr.io/distroless/static-debian12:nonroot
COPY --from=build /go/bin/cloud-sql-proxy /cloud-sql-proxy
ENTRYPOINT ["/cloud-sql-proxy"]