From 00652ab0ef64eb9b2bccb5b58b861fc89dd9cda0 Mon Sep 17 00:00:00 2001 From: maura fortino Date: Mon, 30 Oct 2023 12:40:01 -0400 Subject: [PATCH] updated dockerfile due to release failing --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 19deb735..cfead9f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 . .