Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Makefiles to allow alternative container engines #542

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

rhatdan
Copy link
Member

@rhatdan rhatdan commented Jun 9, 2024

Some users want to use buildah instead of podman to build their container engines.

Buildah does not support --squash-all but after examining the podman code --squash-all ends up just being the equivalent of "--squash --layers=false"

Some users want to use buildah instead of podman to build
their container engines.

Buildah does not support --squash-all but after examining the podman
code --squash-all ends up just being the equivalent of "--squash --layers=false"

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Copy link
Collaborator

@Gregory-Pereira Gregory-Pereira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm just one question

@@ -16,7 +16,7 @@ run:
# rag requires custom bootc because it uses an extra build-arg for CHROMADB_IMAGE (other apps use ../../common/Makefile.common target)
.PHONY: bootc
bootc: quadlet
podman build \
"${CONTAINER_TOOL}" build \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did we want to include the --layers=false in this bootc command?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are not squashing so no.

@rhatdan rhatdan merged commit e46a510 into containers:main Jun 10, 2024
8 checks passed
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