Cleanup docker build (#5084)
This commit is contained in:
parent
6bd5cef01d
commit
12314aa1ac
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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/"
|
||||
|
|
Loading…
Reference in a new issue