From a10b28ed902ab50cb15702041df5d1ed2de48102 Mon Sep 17 00:00:00 2001 From: Zach Aller Date: Wed, 23 Mar 2022 16:09:08 -0500 Subject: [PATCH] fix: Support podman and older version of docker (#8870) Podman and older versions of docker do not support multiple args on a single line. It was recently added to docker in this commit https://github.com/moby/buildkit/pull/1692 and podman still dose not have support for it. Signed-off-by: zachaller --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e35f30b60945d..2c25884a4d8ab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -111,7 +111,8 @@ RUN go mod download # Perform the build COPY . . COPY --from=argocd-ui /src/dist/app /go/src/github.com/argoproj/argo-cd/ui/dist/app -ARG TARGETOS TARGETARCH +ARG TARGETOS +ARG TARGETARCH RUN GOOS=$TARGETOS GOARCH=$TARGETARCH make argocd-all ####################################################################################################