mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 20:34:19 +00:00
fix(security): bump Go to 1.26.10 for CVE-2026-111943 (#604)
Go 1.26.10 and 1.27.3 make crypto/x509 reject chains that pass through the compromised eMudhra intermediate CAs. Go 1.25 has no backport, so binaries built from go.mod 1.25.5 would still trust forged certificates from those intermediates on systems whose trust store has not been updated. skillshare makes HTTPS requests for upgrade, update checks, search and registry lookups, so release binaries need the fix. Move go.mod, mise.toml, the three Docker images and the sandbox docs to 1.26.10. CI and release builds follow go.mod through go-version-file.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# Build: docker build -f docker/ci/Dockerfile -t skillshare-ci .
|
||||
|
||||
# Stage 1: Build Go binary
|
||||
ARG GO_VERSION=1.25.5
|
||||
ARG GO_VERSION=1.26.10
|
||||
FROM golang:${GO_VERSION}-bookworm AS go-builder
|
||||
WORKDIR /src
|
||||
COPY go.mod go.sum ./
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# Build: docker build -f docker/production/Dockerfile -t skillshare .
|
||||
|
||||
# Stage 1: Build Go binary
|
||||
ARG GO_VERSION=1.25.5
|
||||
ARG GO_VERSION=1.26.10
|
||||
FROM golang:${GO_VERSION}-bookworm AS go-builder
|
||||
WORKDIR /src
|
||||
COPY go.mod go.sum ./
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Build arguments (must be before first FROM for cross-stage visibility)
|
||||
ARG NODE_VERSION=24
|
||||
ARG PNPM_VERSION=12.6.0
|
||||
ARG GO_VERSION=1.25.5
|
||||
ARG GO_VERSION=1.26.10
|
||||
|
||||
# Stage 1: Build frontend assets (for playground UI)
|
||||
FROM node:${NODE_VERSION}-bookworm-slim AS ui-builder
|
||||
|
||||
Reference in New Issue
Block a user