You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This pull request introduces a significant enhancement to our Node.js Docker images by transitioning from Alpine to Debian-based images. The update incorporates multi-stage builds for Node.js 18, improving the overall efficiency and performance of our Docker containers.
Transition from Alpine to Debian:
The switch to Debian provides a more stable and robust environment for running Node.js applications. This change addresses compatibility issues that some users have experienced with Alpine, particularly regarding native module dependencies.
ubuntu:noble-20241015 (latest aka v24.04 as [[2024-11-26]])
FROM node:18.20.5-bullseye-slim as node
FROM ubuntu:noble-20241015 as base
COPY --from=node /usr/local/ /usr/local/
# this ensures we fix simlinks for npx, Yarn, and PnPm
RUN corepack disable && corepack enable
ENTRYPOINT ["/usr/local/bin/node"]
# rest of your stuff goes here
The text was updated successfully, but these errors were encountered:
Overview
This pull request introduces a significant enhancement to our Node.js Docker images by transitioning from Alpine to Debian-based images. The update incorporates multi-stage builds for Node.js 18, improving the overall efficiency and performance of our Docker containers.
Transition from Alpine to Debian:
Ref
by [[Bret Fisher]]
https://hub.docker.com/_/node
node:18.20.5-bullseye-slim
https://hub.docker.com/_/ubuntu
ubuntu:noble-20241015
(latest aka v24.04 as [[2024-11-26]])The text was updated successfully, but these errors were encountered: