Update Node image

This commit is contained in:
Vinicius Fortuna 2022-03-08 21:33:03 +00:00
parent 7367f011de
commit 76ce87223f
2 changed files with 3 additions and 3 deletions

View file

@ -37,7 +37,7 @@ RUN ROOT_DIR=/ npm run action shadowbox/server/build
FROM ${NODE_IMAGE}
# Save metadata on the software versions we are using.
LABEL shadowbox.node_version=16.12.0
LABEL shadowbox.node_version=16.14.0
ARG GITHUB_RELEASE
LABEL shadowbox.github.release="${GITHUB_RELEASE}"

View file

@ -19,9 +19,9 @@ export DOCKER_CONTENT_TRUST="${DOCKER_CONTENT_TRUST:-1}"
export DOCKER_BUILDKIT=1
# Newer node images have no valid content trust data.
# Pin the image node:16.12-alpine3.14 by hash.
# Pin the image node:16.14.0-alpine3.15 by hash.
# See versions at https://hub.docker.com/_/node/
readonly NODE_IMAGE="node@sha256:b45a4d2e291af6ed859c8e54d4f70389443373b9293c469b80b5435046127a75"
readonly NODE_IMAGE="node@sha256:425c81a04546a543da824e67c91d4a603af16fbc3d875ee2f276acf8ec2b1577"
# Doing an explicit `docker pull` of the container base image to work around an issue where
# Travis fails to pull the base image when using BuildKit. Seems to be related to: