From d0385a1b7f42c9fbe90461d577619dc1cc5d5f0a Mon Sep 17 00:00:00 2001 From: Matthew Dean Date: Mon, 17 Jan 2022 10:14:12 +0000 Subject: [PATCH] Fix dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index de7e1f4..d7ec073 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,8 @@ # syntax=docker/dockerfile:1.3-labs ARG IPFS_BUILD_IMAGE_VERSION=1.17-alpine3.15 -FROM golang:${IPFS_BUILD_IMAGE_VERSION}} AS ipfs_build +ARG NODE_RUNTIME_IMAGE_VERSION=16.13.2-alpine +FROM golang:$IPFS_BUILD_IMAGE_VERSION AS ipfs_build ENV SRC_DIR /go/src/github.com/ipfs/go-ipfs @@ -20,7 +21,7 @@ cp $SRC_DIR/cmd/ipfs/ipfs /target/ipfs rm -rf $SRC_DIR EOF -FROM node:16.13.2-alpine +FROM node:$NODE_RUNTIME_IMAGE_VERSION AS runtime RUN npm i -g npm@latest ARG LOGLEVEL