Skip to content

Allow if-not-present pull policy for builds with image extensions #2204

Open
@MoritzWeber0

Description

Description

When running pack build and the builder contains image extensions, the build fails with:

ERROR: failed to build: pull policy must be 'always' when builder contains image extensions

Proposed solution

The pack build command should accept --pull-policy if-not-present as argument, also if the builder contains image extensions.

Additional context

I don't want to rely on a local registry or internet connection when building my images locally.

Metadata

Assignees

Labels

help wantedNeed some extra hands to get this done.status/readyIssue ready to be worked on.type/enhancementIssue that requests a new feature or improvement.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions