Skip to content

Commit

Permalink
Fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mattdean-digicatapult committed Jan 17, 2022
1 parent efd32f3 commit d0385a1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
Expand Down

0 comments on commit d0385a1

Please sign in to comment.