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 0b41a03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/edk2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ ENV WORKSPACE=$TOOLSDIR/Edk2
RUN if [ "${TARGETARCH}" = 'amd64' ]; then \
dpkg --add-architecture i386; \
fi; \
curl --fail --silent --show-error --location https://deb.nodesource.com/setup_20.x | bash - && \
apt-get update && \
apt-get install -y --no-install-recommends \
${PYTHON_PACKAGES} \
Expand Down

0 comments on commit 0b41a03

Please sign in to comment.