fleet-manager: mirror the distroless runtime base through Harbor
Route the gcr.io distroless runtime image through the Harbor mirror (harbor.bitasylum.org/gcr.io/distroless/static-debian12:nonroot) per the standing rule, completing the fleet-manager Dockerfile's base-image mirroring.
This commit is contained in:
@@ -36,7 +36,7 @@ RUN mkdir -p /data-seed && touch /data-seed/.keep
|
|||||||
# default (uid 65532). The data dir (inventory + admin store + enrol key) is a
|
# default (uid 65532). The data dir (inventory + admin store + enrol key) is a
|
||||||
# mounted, writable volume — pre-created here owned by nonroot so a fresh volume
|
# mounted, writable volume — pre-created here owned by nonroot so a fresh volume
|
||||||
# inherits that ownership.
|
# inherits that ownership.
|
||||||
FROM gcr.io/distroless/static-debian12:nonroot
|
FROM harbor.bitasylum.org/gcr.io/distroless/static-debian12:nonroot
|
||||||
COPY --from=build /fleet-manager /usr/local/bin/fleet-manager
|
COPY --from=build /fleet-manager /usr/local/bin/fleet-manager
|
||||||
COPY --from=build --chown=65532:65532 /data-seed /data
|
COPY --from=build --chown=65532:65532 /data-seed /data
|
||||||
USER nonroot:nonroot
|
USER nonroot:nonroot
|
||||||
|
|||||||
Reference in New Issue
Block a user