8000 Fix Dockerfile for amd64 microarchitectures · nginx/kubernetes-ingress@b26be94 · GitHub
[go: up one dir, main page]

Skip to content

Commit b26be94

Browse files
committed
Fix Dockerfile for amd64 microarchitectures
1 parent 3a13609 commit b26be94

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

build/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -285,11 +285,10 @@ COPY --link --chown=101:0 nginx-ingress /
285285
############################################# Create image with nginx-ingress built by GoReleaser #############################################
286286
FROM common AS goreleaser
287287
ARG TARGETARCH
288-
ARG TARGETVARIANT
289288

290289
LABEL org.nginx.kic.image.build.version="goreleaser"
291290

292-
COPY --link --chown=101:0 dist/kubernetes-ingress_linux_$TARGETARCH${TARGETVARIANT:+_7}/nginx-ingress /
291+
COPY --link --chown=101:0 dist/kubernetes-ingress_linux_$TARGETARCH*/nginx-ingress /
293292

294293

295294
############################################# Create image with nginx-ingress built by GoReleaser for AWS Marketplace #############################################
@@ -298,7 +297,7 @@ ARG TARGETARCH
298297

299298
LABEL org.nginx.kic.image.build.version="aws"
300299

301-
COPY --link --chown=101:0 dist/aws_linux_$TARGETARCH/nginx-ingress /
300+
COPY --link --chown=101:0 dist/aws_linux_$TARGETARCH*/nginx-ingress /
302301

303302

304303
############################################# Create image with nginx-ingress extracted from image on Docker Hub #############################################

0 commit comments

Comments
 (0)
0