-
-
Notifications
You must be signed in to change notification settings - Fork 0
chore(docker): migrate from Alpine to Debian Trixie base image #568
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
fix(deps): update weekly-non-major-updates
fix(deps): update weekly-non-major-updates
…major-updates fix(deps): update weekly-non-major-updates (development)
…major-updates chore(deps): update weekly-non-major-updates (development)
…major-updates fix(deps): update dependency @tanstack/react-query to ^5.90.18 (development)
…major-updates fix(deps): update weekly-non-major-updates (development)
…major-updates chore(deps): update weekly-non-major-updates (development)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR claims to migrate the Docker base image from Alpine 3.23 to Debian Trixie and add a gosu build stage for security fixes, but the actual changes show only routine dependency updates.
Changes:
- Updated frontend dependencies (React Query, TypeScript ESLint, Vitest, testing libraries, and other dev dependencies)
- Updated backend Go dependencies (logrus, golang.org/x/* packages) and Go version to 1.25.6
- Updated GitHub Actions workflow actions to newer versions
- Updated Node.js version in Dockerfile from 24.12.0 to 24.13.0
Reviewed changes
Copilot reviewed 16 out of 19 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| frontend/package.json | Minor version bumps for React Query, testing libraries, TypeScript ESLint, and Vitest |
| frontend/package-lock.json | Corresponding lockfile updates for package.json changes, removal of istanbul-lib-source-maps dependency |
| backend/package.json | Updated Vitest coverage package from 4.0.16 to 4.0.17 |
| backend/package-lock.json | Extensive updates including esbuild, rollup, vitest, and related packages; removal of debug and istanbul-lib-source-maps |
| backend/go.sum | Added checksums for updated Go dependencies (logrus v1.9.4, golang.org/x/* v0.47.0+) |
| backend/go.mod | Updated Go to 1.25.6, logrus to v1.9.4, and golang.org/x/* packages to newer versions |
| Dockerfile | Updated Node.js builder from 24.12.0-alpine to 24.13.0-alpine |
| .github/workflows/*.yml | Updated action versions for setup-go (v6.2.0), setup-node (v6.2.0), codeql-action (v4.31.10), renovate (v44.2.5), and release-drafter (v6) |
Files not reviewed (2)
- backend/package-lock.json: Language not supported
- frontend/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
This PR migrates the Docker base image from Alpine 3.23 to Debian Trixie (slim) to address security vulnerabilities and improve package maintenance.
Key Changes
🐳 Base Image Migration: Alpine → Debian Trixie
alpine:3.23→debian:trixie-slimnode:24.13.0-alpine→node:24.13.0-slim🔒 Security: Build Gosu from Source
Added a dedicated build stage to compile
gosufrom source using Go 1.25, fixing 22 HIGH/CRITICAL CVEs embedded in Debian's pre-compiled gosu package (built with Go 1.19.8):📦 Other Notable Changes
Testing
/healthendpoint)Breaking Changes
None - this is a base image change with no API modifications.
Reviewers: Please verify the image size and startup time are acceptable compared to Alpine.