From 6a6cad621fc3b3eaa3593489ca8334ae29319edc Mon Sep 17 00:00:00 2001 From: Nicko Guyer Date: Wed, 10 Jan 2024 14:33:56 -0500 Subject: [PATCH] Pin package versions in Dockerfile Signed-off-by: Nicko Guyer --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a613133..40e5070 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ FROM node:16-alpine3.15 as solidity-builder -RUN apk add python3 alpine-sdk +RUN apk add python3=3.9.18-r0 alpine-sdk=1.0-r1 USER node WORKDIR /home/node ADD --chown=node:node ./samples/solidity/package*.json ./ @@ -15,7 +15,7 @@ ADD . . RUN npm run build FROM node:16-alpine3.15 -RUN apk add curl +RUN apk add curl=8.5.0-r0 WORKDIR /app ADD package*.json ./ RUN npm install --production