Container image might be used as initcontainers in kubernetes Pods. In such scenarios, it's important for the image entrypoint to exits once the copy logic is completed. Otherwise, the pod would stuck in a PodInitializing phase.
Add Makefile rule image-test to check the integrity of the entrypoint.sh script.
Container image might be used as
initcontainers
in kubernetes Pods. In such scenarios, it's important for the image entrypoint to exits once the copy logic is completed. Otherwise, the pod would stuck in aPodInitializing
phase.Add Makefile rule
image-test
to check the integrity of the entrypoint.sh script.https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
refs: