From 8e6df185dcdb53bb1265bb14168007f0a69a44c4 Mon Sep 17 00:00:00 2001 From: Pieter Oliver Date: Thu, 23 May 2024 16:51:10 +0100 Subject: [PATCH 1/2] chore: Update Dockerfile to node:18.20.3 --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index eb855a90b..59a59a605 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18.20.1 as compiler +FROM node:18.20.3 as compiler WORKDIR /usr/src/prism @@ -8,7 +8,7 @@ COPY packages/ /usr/src/prism/packages/ RUN yarn && yarn build ############################################################### -FROM node:18.20.1 as dependencies +FROM node:18.20.3 as dependencies WORKDIR /usr/src/prism/ @@ -34,7 +34,7 @@ RUN if [ $(uname -m) != "aarch64" ]; then curl -sfL https://gobinaries.com/tj/no RUN if [ $(uname -m) != "aarch64" ]; then node-prune; fi ############################################################### -FROM node:18.20.1-alpine +FROM node:18.20.3-alpine WORKDIR /usr/src/prism ARG BUILD_TYPE=development From 9b49189c7eee318b0fd298f5774fd7a82425418a Mon Sep 17 00:00:00 2001 From: Brenda Rearden Date: Fri, 31 May 2024 07:18:39 -0700 Subject: [PATCH 2/2] Apply suggestions from code review Changing to use node:18 so that it continues to pull the latest vs a specific version --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 59a59a605..ec90cb3dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18.20.3 as compiler +FROM node:18 as compiler WORKDIR /usr/src/prism @@ -8,7 +8,7 @@ COPY packages/ /usr/src/prism/packages/ RUN yarn && yarn build ############################################################### -FROM node:18.20.3 as dependencies +FROM node:18 as dependencies WORKDIR /usr/src/prism/ @@ -34,7 +34,7 @@ RUN if [ $(uname -m) != "aarch64" ]; then curl -sfL https://gobinaries.com/tj/no RUN if [ $(uname -m) != "aarch64" ]; then node-prune; fi ############################################################### -FROM node:18.20.3-alpine +FROM node:18-alpine WORKDIR /usr/src/prism ARG BUILD_TYPE=development