Skip to content

Conversation

@alexlarsson
Copy link
Contributor

The automotive project wants to build minimal bootc images which will not contain tools like dnf, mkfs.ext, etc. We support this by allowing the container used in the build pipeline to come from another (but related) container image.

Note: This depends on, and includes the commits from, #1506

Question: This just changes the API, what are the policy here? Is this fine, or should I duplicate NewBootcDiskImage() to NewBootcDiskImageWithBuild() so the old calls keep working?

This allows running the build with a policy other than "targeted".
The automotive project wants to build minimal bootc images which will
not contain tools like dnf, mkfs.ext, etc. We support this by
allowing the container used in the build pipeline to come from another
(but related) container image.
@alexlarsson alexlarsson requested a review from a team as a code owner May 9, 2025 09:02
alexlarsson added a commit to alexlarsson/bootc-image-builder that referenced this pull request May 9, 2025
…iner

The automotive project wants to build minimal bootc images which will
not contain tools like dnf, mkfs.ext, etc. We support this by allowing
the container used in the build pipeline to come from another (but
related) container image.

This depends on osbuild/images#1507
@alexlarsson
Copy link
Contributor Author

This is used in osbuild/bootc-image-builder#921

@supakeen
Copy link
Member

supakeen commented May 9, 2025

Question: This just changes the API, what are the policy here? Is this fine, or should I duplicate NewBootcDiskImage() to NewBootcDiskImageWithBuild() so the old calls keep working?

For this specific function it is (IMHO) fine to change the API as there is only one consumer (bootc-image-builder).

@achilleas-k achilleas-k self-requested a review May 9, 2025 11:36
@alexlarsson alexlarsson marked this pull request as draft May 9, 2025 13:32
@alexlarsson
Copy link
Contributor Author

Closed in favor of #1519

alexlarsson added a commit to alexlarsson/bootc-image-builder that referenced this pull request May 14, 2025
…iner

The automotive project wants to build minimal bootc images which will
not contain tools like dnf, mkfs.ext, etc. We support this by allowing
the container used in the build pipeline to come from another (but
related) container image.

This depends on osbuild/images#1507
alexlarsson added a commit to alexlarsson/bootc-image-builder that referenced this pull request May 15, 2025
The automotive project wants to build minimal bootc images which will
not contain tools like dnf, mkfs.ext, etc. We support this by allowing
the container used in the build pipeline to come from another (but
related) container image.

This depends on osbuild/images#1507
alexlarsson added a commit to alexlarsson/bootc-image-builder that referenced this pull request May 16, 2025
The automotive project wants to build minimal bootc images which will
not contain tools like dnf, mkfs.ext, etc. We support this by allowing
the container used in the build pipeline to come from another (but
related) container image.

This depends on osbuild/images#1507
alexlarsson added a commit to alexlarsson/bootc-image-builder that referenced this pull request May 16, 2025
The automotive project wants to build minimal bootc images which will
not contain tools like dnf, mkfs.ext, etc. We support this by allowing
the container used in the build pipeline to come from another (but
related) container image.

This depends on osbuild/images#1507
alexlarsson added a commit to alexlarsson/bootc-image-builder that referenced this pull request May 20, 2025
The automotive project wants to build minimal bootc images which will
not contain tools like dnf, mkfs.ext, etc. We support this by allowing
the container used in the build pipeline to come from another (but
related) container image.

This depends on osbuild/images#1507
alexlarsson added a commit to alexlarsson/bootc-image-builder that referenced this pull request May 21, 2025
The automotive project wants to build minimal bootc images which will
not contain tools like dnf, mkfs.ext, etc. We support this by allowing
the container used in the build pipeline to come from another (but
related) container image.

This depends on osbuild/images#1507
alexlarsson added a commit to alexlarsson/bootc-image-builder that referenced this pull request May 22, 2025
The automotive project wants to build minimal bootc images which will
not contain tools like dnf, mkfs.ext, etc. We support this by allowing
the container used in the build pipeline to come from another (but
related) container image.

This depends on osbuild/images#1507
achilleas-k pushed a commit to osbuild/bootc-image-builder that referenced this pull request May 22, 2025
The automotive project wants to build minimal bootc images which will
not contain tools like dnf, mkfs.ext, etc. We support this by allowing
the container used in the build pipeline to come from another (but
related) container image.

This depends on osbuild/images#1507
mvo5 pushed a commit to mvo5/image-builder-cli that referenced this pull request Nov 19, 2025
The automotive project wants to build minimal bootc images which will
not contain tools like dnf, mkfs.ext, etc. We support this by allowing
the container used in the build pipeline to come from another (but
related) container image.

This depends on osbuild/images#1507
mvo5 pushed a commit to mvo5/image-builder-cli that referenced this pull request Nov 25, 2025
The automotive project wants to build minimal bootc images which will
not contain tools like dnf, mkfs.ext, etc. We support this by allowing
the container used in the build pipeline to come from another (but
related) container image.

This depends on osbuild/images#1507
mvo5 pushed a commit to mvo5/image-builder-cli that referenced this pull request Nov 27, 2025
The automotive project wants to build minimal bootc images which will
not contain tools like dnf, mkfs.ext, etc. We support this by allowing
the container used in the build pipeline to come from another (but
related) container image.

This depends on osbuild/images#1507
mvo5 pushed a commit to mvo5/image-builder-cli that referenced this pull request Dec 3, 2025
The automotive project wants to build minimal bootc images which will
not contain tools like dnf, mkfs.ext, etc. We support this by allowing
the container used in the build pipeline to come from another (but
related) container image.

This depends on osbuild/images#1507
mvo5 pushed a commit to mvo5/image-builder-cli that referenced this pull request Dec 8, 2025
The automotive project wants to build minimal bootc images which will
not contain tools like dnf, mkfs.ext, etc. We support this by allowing
the container used in the build pipeline to come from another (but
related) container image.

This depends on osbuild/images#1507
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants