diff --git a/Dockerfile.template b/Dockerfile.template index a587cee..ec28f91 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -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 diff --git a/build/install_chromium b/build/install_chromium index 5f2c01a..5ec64d3 100755 --- a/build/install_chromium +++ b/build/install_chromium @@ -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