Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump node version to 20 #177

Merged
merged 1 commit into from
Sep 4, 2024
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
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