Skip to content

Commit

Permalink
updating dockerfile to fix docker build fail
Browse files Browse the repository at this point in the history
  • Loading branch information
maurafortino committed Nov 6, 2023
1 parent 6241ccb commit 8e6998d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ RUN apk add --no-cache --no-progress \

# Download spruce here to eliminate the need for curl in the final image
RUN mkdir -p /go/bin && \
curl -L -o /go/bin/spruce https://github.com/geofffranks/spruce/releases/download/v1.29.0/spruce-linux-amd64 && \
chmod +x /go/bin/spruce
arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) && \
curl -L -o /go/bin/spruce https://github.com/geofffranks/spruce/releases/download/v1.30.2/spruce-linux-${arch} && \
chmod +x /go/bin/spruce && \
sha1sum /go/bin/spruce

COPY . .

Expand Down

0 comments on commit 8e6998d

Please sign in to comment.