diff --git a/images/nginx/rootfs/Dockerfile b/images/nginx/rootfs/Dockerfile index 59558ceb1..e4955d42a 100644 --- a/images/nginx/rootfs/Dockerfile +++ b/images/nginx/rootfs/Dockerfile @@ -13,7 +13,7 @@ # limitations under the License. -FROM --platform=$BUILDPLATFORM alpine:3.11 as builder +FROM alpine:3.11 as builder COPY . / @@ -21,7 +21,7 @@ RUN apk add -U bash \ && /build.sh # Use a multi-stage build -FROM --platform=$BUILDPLATFORM alpine:3.11 +FROM alpine:3.11 ENV PATH=$PATH:/usr/local/luajit/bin:/usr/local/nginx/sbin:/usr/local/nginx/bin diff --git a/rootfs/Dockerfile b/rootfs/Dockerfile index fb0613f2c..42c27ead5 100644 --- a/rootfs/Dockerfile +++ b/rootfs/Dockerfile @@ -15,7 +15,7 @@ ARG BASE_IMAGE ARG VERSION -FROM --platform=$BUILDPLATFORM ${BASE_IMAGE} +FROM ${BASE_IMAGE} LABEL org.opencontainers.image.title="NGINX Ingress Controller for Kubernetes" LABEL org.opencontainers.image.documentation="https://kubernetes.github.io/ingress-nginx/"