fix(#181): Update Alpine packages to patch Go stdlib vulnerabilities in postgres image
Added explicit package update/upgrade step to patch CVE-2025-58183, CVE-2025-61726, CVE-2025-61728, and CVE-2025-61729 in Go stdlib components from Alpine Linux packages (likely LLVM or transitive dependencies). The fix ensures all base image packages are up-to-date before pgvector build, capturing any security patches released for Alpine components. Fixes #181 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,6 +3,9 @@ FROM postgres:17-alpine
|
||||
LABEL maintainer="Mosaic Stack <dev@mosaic.local>"
|
||||
LABEL description="PostgreSQL 17 with pgvector extension"
|
||||
|
||||
# Update Alpine packages to patch Go stdlib vulnerabilities (CVE-2025-58183, CVE-2025-61726, CVE-2025-61728, CVE-2025-61729)
|
||||
RUN apk update && apk upgrade
|
||||
|
||||
# Install build dependencies for pgvector
|
||||
RUN apk add --no-cache --virtual .build-deps \
|
||||
git \
|
||||
|
||||
Reference in New Issue
Block a user