From 700d971ed649a91971be0ca341af7c83b2c2505c Mon Sep 17 00:00:00 2001 From: Nicko Guyer Date: Thu, 29 Feb 2024 11:29:42 -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 126786d..14e491b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ ADD --chown=node:node . . RUN npm run build FROM node:20-alpine3.17 as solidity-build -RUN apk add python3 alpine-sdk +RUN apk add python3=3.10.13-r0 alpine-sdk=1.0-r1 USER node WORKDIR /home/node ADD --chown=node:node ./samples/solidity/package*.json ./ @@ -16,7 +16,7 @@ ADD --chown=node:node ./samples/solidity . RUN npx hardhat compile FROM node:20-alpine3.17 -RUN apk add curl jq +RUN apk add curl=8.5.0-r0 jq=1.6-r2 RUN mkdir -p /app/contracts/source \ && chgrp -R 0 /app/ \ && chmod -R g+rwX /app/ \