Skip to content

Conversation

@Wikid82
Copy link
Owner

@Wikid82 Wikid82 commented Jan 26, 2026

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

  • Runtime image: alpine:3.23debian:trixie-slim
  • Node builder: node:24.13.0-alpinenode:24.13.0-slim
  • Rationale: Debian Trixie (testing) receives faster security updates. Packages marked "won't-fix" in Bookworm (stable) are actively maintained in Trixie.

🔒 Security: Build Gosu from Source

Added a dedicated build stage to compile gosu from 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

  • Nightly build workflow improvements (auto-sync, skip tests input, lowercase image name fix)
  • CrowdSec bumped to v1.7.6
  • E2E test infrastructure improvements (Phase 5/6 implementation)
  • User management UI implementation
  • Security module toggle actions
  • NPM/JSON import routes and SMTP persistence fixes

Testing

  • Docker image builds successfully for linux/amd64 and linux/arm64
  • Container smoke test passes (/health endpoint)
  • E2E Playwright tests pass
  • Security scans show reduced CVE count

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.

renovate bot and others added 14 commits January 13, 2026 21:48
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)
Copilot AI review requested due to automatic review settings January 26, 2026 08:00
@Wikid82 Wikid82 marked this pull request as draft January 26, 2026 08:00
Copy link
Contributor

Copilot AI left a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants