From df72b9caeb543542feb57b926804953bb52e54ae Mon Sep 17 00:00:00 2001 From: oseoin Date: Tue, 25 Jun 2024 10:59:48 +0100 Subject: [PATCH] Fix build arg for templates (#5844) --- build/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/Dockerfile b/build/Dockerfile index a1cfc7422f..05a8614340 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -664,6 +664,7 @@ ENTRYPOINT ["/dlv"] ############################################# Create image with nginx-ingress built locally & using prebuilt base image ############################################# FROM ${PREBUILT_BASE_IMG} AS local-prebuilt +ARG BUILD_OS LABEL org.nginx.kic.image.build.version="local" @@ -711,6 +712,7 @@ RUN setcap 'cap_net_bind_service=+ep' /nginx-ingress && setcap -v 'cap_net_bind_ ############################################# Create image with nginx-ingress built by GoReleaser & using prebuilt base image ############################################# FROM ${PREBUILT_BASE_IMG} AS goreleaser-prebuilt ARG TARGETARCH +ARG BUILD_OS LABEL org.nginx.kic.image.build.version="goreleaser" @@ -760,6 +762,7 @@ RUN setcap 'cap_net_bind_service=+ep' /nginx-ingress && setcap -v 'cap_net_bind_ FROM ${PREBUILT_BASE_IMG} AS aws-prebuilt ARG TARGETARCH ARG NAP_MODULES_AWS +ARG BUILD_OS LABEL org.nginx.kic.image.build.version="aws"