From 4a4a8a59bfd664e9683f60d4681a0c6583c68dd1 Mon Sep 17 00:00:00 2001 From: Felipe Lalanne <1822826+pipex@users.noreply.github.com> Date: Thu, 21 Sep 2023 13:12:59 -0300 Subject: [PATCH] Use `~=` to specify alpine package versions Alpine allows the `~=` syntax to match a part of the package version when installing. In this case we want to use it to specify node and npm major versions Change-type: patch --- Dockerfile.template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.template b/Dockerfile.template index 27d1d849..78814648 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -1,7 +1,7 @@ ARG ARCH=%%BALENA_ARCH%% ARG FATRW_VERSION=0.2.9 -ARG NODE="nodejs<19" -ARG NPM="npm<10" +ARG NODE="nodejs~=18" +ARG NPM="npm~=9" ARG ALPINE_VERSION="3.18" ###################################################