mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-11-26 23:59:52 +03:00
#### 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 -->
9 lines
293 B
Docker
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"]
|