Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
nodejs 24.19.0
nodejs 24.22.1
pnpm 11.22.0
yarn 1.22.22
16 changes: 10 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,20 @@
#
# Alternate way of determining the Index digest using the docker CLI.
#
# $ docker buildx imagetools inspect node:24.19.0-slim
# Name: docker.io/library/node:24.19.0-slim
# $ docker buildx imagetools inspect node:24.22.1-slim
# Name: docker.io/library/node:24.22.1-slim
# MediaType: application/vnd.oci.image.index.v1+json
# Digest: sha256:3638d9a6fe4030bd716be989438248074489337ba3275657f93595428be4fc03
# Digest: sha256:55fb5f5a527ea2c5c4a95f963e48ef90aa38c7b346054fdc8ee9957a2b55d205
# And use this digest in FROM
ARG base_sha=3638d9a6fe4030bd716be989438248074489337ba3275657f93595428be4fc03
ARG base_sha=55fb5f5a527ea2c5c4a95f963e48ef90aa38c7b346054fdc8ee9957a2b55d205

FROM node:24.19.0-slim@sha256:${base_sha}
FROM node:24.22.1-slim@sha256:${base_sha}

ENV NODE_OPTIONS=--max-old-space-size=4096
# --use-openssl-ca makes Node (and npm/yarn/pnpm) trust the Debian CA store
# instead of the CA list compiled into each Node binary. This also covers older
# Node versions that auto-indexing installs with `n install auto`, whose bundled
# CA lists can't be patched.
ENV NODE_OPTIONS="--max-old-space-size=4096 --use-openssl-ca"

RUN apt-get update && \
apt-get install -y --no-install-recommends git bash curl ca-certificates python3 make build-essential automake autoconf && \
Expand Down
Loading