0:15

📚 / Concepts / Unit / Container contract

Constraints required by Kubirds

In order to use a Docker image as a Unit, it is mandatory that the image respects the following constraints:

  • no ENTRYPOINT, Tekton will overwrite it when scheduling the check execution
  • no CMD, Kubirds will overwrite it when creating the unit pipeline
  • presence of /bin/sh, it will be used as main shell for the container’s CMD script