Skip to content

Commit

Permalink
Bump node version to 20
Browse files Browse the repository at this point in the history
Change-type: minor
Signed-off-by: Phil Wilson <[email protected]>
  • Loading branch information
phil-d-wilson committed Sep 3, 2024
1 parent bff360f commit b6c6e10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile.template
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
ARG NODEJS_VERSION="16.19.1"
ARG NODEJS_VERSION="20.12.0"

FROM balenalib/%%BALENA_MACHINE_NAME%%-debian-node:${NODEJS_VERSION}-bookworm-run

# Install the necessary packages
COPY ./build /usr/src/build
RUN chmod a+x /usr/src/build/install_chromium
RUN /usr/src/build/install_chromium "%%BALENA_MACHINE_NAME%%"

WORKDIR /usr/src/app
Expand Down
1 change: 1 addition & 0 deletions build/install_chromium
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ then
# The RPi-patched chromium package is called chromium-browser
CHROMIUM_PACKAGE="chromium-browser"
else
echo "Defaulting to vanilla chromium"
# The node library launches /usr/bin/chromium-browser
# which is not provided by the upstream package
ln -s /usr/bin/chromium /usr/bin/chromium-browser
Expand Down

0 comments on commit b6c6e10

Please sign in to comment.