mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 18:25:26 +00:00
- Pin to v5.4.1 with sha256 as example of how to ensure supply-chain security. Pulling the latest kustomize image or source is insecure without checksum validation. - Bump example image tag to v0.1.1
11 lines
328 B
Docker
11 lines
328 B
Docker
# Copyright 2019 The Kubernetes Authors.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
ARG KUSTOMIZE_IMAGE_TAG
|
|
ARG KUSTOMIZE_IMAGE_SHA
|
|
|
|
FROM registry.k8s.io/kustomize/kustomize:${KUSTOMIZE_IMAGE_TAG}@${KUSTOMIZE_IMAGE_SHA}
|
|
RUN apk add --no-cache bash
|
|
COPY cockroachdb-template.sh /usr/local/bin/config-function
|
|
CMD ["config-function"]
|