From 1fdbde936146e5c7de2509471bcfffcaa6a00f57 Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Thu, 21 Apr 2022 12:31:31 +0200 Subject: [PATCH] Fix Dockerfile for amd64 microarchitectures (#2617) --- build/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build/Dockerfile b/build/Dockerfile index 41df93fa13..218424f35a 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -285,11 +285,10 @@ COPY --link --chown=101:0 nginx-ingress / ############################################# Create image with nginx-ingress built by GoReleaser ############################################# FROM common AS goreleaser ARG TARGETARCH -ARG TARGETVARIANT LABEL org.nginx.kic.image.build.version="goreleaser" -COPY --link --chown=101:0 dist/kubernetes-ingress_linux_$TARGETARCH${TARGETVARIANT:+_7}/nginx-ingress / +COPY --link --chown=101:0 dist/kubernetes-ingress_linux_$TARGETARCH*/nginx-ingress / ############################################# Create image with nginx-ingress built by GoReleaser for AWS Marketplace ############################################# @@ -298,7 +297,7 @@ ARG TARGETARCH LABEL org.nginx.kic.image.build.version="aws" -COPY --link --chown=101:0 dist/aws_linux_$TARGETARCH/nginx-ingress / +COPY --link --chown=101:0 dist/aws_linux_$TARGETARCH*/nginx-ingress / ############################################# Create image with nginx-ingress extracted from image on Docker Hub #############################################