🐳 chore: Upgrade Alpine packages in Dockerfiles (#12316)

- Added `apk upgrade --no-cache` to both Dockerfile and Dockerfile.multi to ensure all installed packages are up to date.
- Maintained the installation of `jemalloc` and other dependencies without changes.
This commit is contained in:
Danny Avila 2026-03-19 17:07:08 -04:00 committed by GitHub
parent 3abad53c16
commit ec0238d7ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
# Base node image
FROM node:20-alpine AS node
# Install jemalloc
RUN apk upgrade --no-cache
RUN apk add --no-cache jemalloc
RUN apk add --no-cache python3 py3-pip uv

View file

@ -6,7 +6,7 @@ ARG NODE_MAX_OLD_SPACE_SIZE=6144
# Base for all builds
FROM node:20-alpine AS base-min
# Install jemalloc
RUN apk upgrade --no-cache
RUN apk add --no-cache jemalloc
# Set environment variable to use jemalloc
ENV LD_PRELOAD=/usr/lib/libjemalloc.so.2