Add common label to Dockerfiles (#10803)
This commit is contained in:
parent
4b832de985
commit
1a7112e063
3 changed files with 7 additions and 0 deletions
|
|
@ -23,6 +23,9 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} go build -a -o kube-webhook-ce
|
|||
FROM --platform=$BUILDPLATFORM gcr.io/distroless/static:nonroot
|
||||
ARG BUILDPLATFORM
|
||||
ARG TARGETARCH
|
||||
|
||||
LABEL org.opencontainers.image.source=https://github.com/kubernetes/ingress-nginx
|
||||
|
||||
WORKDIR /
|
||||
COPY --from=builder /workspace/kube-webhook-certgen /kube-webhook-certgen
|
||||
USER 65532:65532
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue