Context
Recent versions of Docker Engine (20.10) and Podman (at least v2 and newer) support flag --pull always to specify that images should always be pulled. We should use this, as long as we're using :latest image tags for the container images we use in the component's Makefile.vars.mk`:
|
DOCKER_ARGS ?= run --rm -u "$$(id -u):$$(id -g)" --userns=$(DOCKER_USERNS) -w /$(COMPONENT_NAME) -e HOME="/$(COMPONENT_NAME)" |
Alternatives
- Switch to fixed image tags, and deal with renovate PRs on the template and the cascading PRs to update all components.