Skip to content

Add --pull always to the Docker options in the component's Makefile.vars.mk #35

@simu

Description

@simu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions