mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-28 04:02:21 -04:00
Merge pull request #17896 from roidelapluie/roidelapluie/fixdistroless
Fix ARG scoping in Dockerfile.distroless
This commit is contained in:
commit
d63e418d78
1 changed files with 3 additions and 2 deletions
|
|
@ -1,11 +1,12 @@
|
|||
ARG ARCH="amd64"
|
||||
ARG OS="linux"
|
||||
ARG DISTROLESS_ARCH="amd64"
|
||||
|
||||
# Use DISTROLESS_ARCH for base image selection (handles armv7->arm mapping).
|
||||
FROM gcr.io/distroless/static-debian13:nonroot-${DISTROLESS_ARCH}
|
||||
# Base image sets USER to 65532:65532 (nonroot user).
|
||||
|
||||
ARG ARCH="amd64"
|
||||
ARG OS="linux"
|
||||
|
||||
LABEL org.opencontainers.image.authors="The Prometheus Authors"
|
||||
LABEL org.opencontainers.image.vendor="Prometheus"
|
||||
LABEL org.opencontainers.image.title="Prometheus"
|
||||
|
|
|
|||
Loading…
Reference in a new issue