From 3766013cbdbb8864abf2f353332b27713c357818 Mon Sep 17 00:00:00 2001 From: Christina Ying Wang Date: Wed, 6 Sep 2023 20:23:06 -0700 Subject: [PATCH] Update runtime-base image to alpine:3.18 We were still on 3.16, where the nodejs package was pointed at Node 16. 3.18 moves the pointer to Node 18. Change-type: minor Signed-off-by: Christina Ying Wang --- Dockerfile.template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile.template b/Dockerfile.template index 3bf84fe4..27d1d849 100644 --- a/Dockerfile.template +++ b/Dockerfile.template @@ -2,11 +2,12 @@ ARG ARCH=%%BALENA_ARCH%% ARG FATRW_VERSION=0.2.9 ARG NODE="nodejs<19" ARG NPM="npm<10" +ARG ALPINE_VERSION="3.18" ################################################### # Build the supervisor dependencies ################################################### -FROM alpine:3.18 as build-base +FROM alpine:${ALPINE_VERSION} as build-base ARG ARCH ARG NODE @@ -68,7 +69,7 @@ RUN apk add --update --no-cache procmail # Image with the final production dependencies. # This image will also be be used for testing ################################################### -FROM alpine:3.16 as runtime-base +FROM alpine:${ALPINE_VERSION} as runtime-base ARG NODE