From 2b01c988fcbe64f5f292a99c26b7c550b23a140f Mon Sep 17 00:00:00 2001 From: Nikita Skrynnik Date: Mon, 2 Oct 2023 11:43:20 +1100 Subject: [PATCH] Use a default value for BUILDARCH agrument Signed-off-by: Nikita Skrynnik --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cf504d6..577a6dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM golang:1.20.5-buster as go ENV GO111MODULE=on ENV CGO_ENABLED=0 ENV GOBIN=/bin -ARG BUILDARCH +ARG BUILDARCH=amd64 RUN go install github.com/go-delve/delve/cmd/dlv@v1.8.2 RUN wget --no-verbose --output-document=- https://github.com/spiffe/spire/releases/download/v1.8.0/spire-1.8.0-linux-${BUILDARCH}-musl.tar.gz | tar xzf - -C /bin --strip=2 spire-1.8.0/bin/spire-server spire-1.8.0/bin/spire-agent