Skip to content

Commit

Permalink
fix(docker): install newer NodeJS into edk2 containers
Browse files Browse the repository at this point in the history
- some edk2 containers have NodeJS v16 or older, which are end-of-life
- so let's add NodeJS repository for NodeJS v20 LTS
- we could also do v18 LTS, but it is going to be end-of-life soon
- only edk2 is finicky, other containers should rather upgrade the use
  Ubuntu version if this problem arises

Signed-off-by: AtomicFS <[email protected]>
  • Loading branch information
AtomicFS committed Jan 9, 2025
1 parent c760068 commit 52d5cd8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/edk2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ ENV WORKSPACE=$TOOLSDIR/Edk2
RUN if [ "${TARGETARCH}" = 'amd64' ]; then \
dpkg --add-architecture i386; \
fi; \
wget --quiet -O nodesource_setup.sh https://deb.nodesource.com/setup_20.x && \
chmod +x nodesource_setup.sh && \
./nodesource_setup.sh && \
apt-get update && \
apt-get install -y --no-install-recommends \
${PYTHON_PACKAGES} \
Expand Down

0 comments on commit 52d5cd8

Please sign in to comment.