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

Add create_args suboption to CIBW_CONTAINER_ENGINE #1499

Merged
merged 14 commits into from
May 26, 2023
Merged

Add create_args suboption to CIBW_CONTAINER_ENGINE #1499

merged 14 commits into from
May 26, 2023

Conversation

joerick
Copy link
Contributor

@joerick joerick commented May 15, 2023

Fix #1384

Adds the ability to give additional command line arguments to the container engine (docker or podman). These are supplied inside the existing CIBW_CONTAINER_ENGINE option in a backward-compatible format so we don't increase the options surface area, and because, in theory at least, these options could vary in future depending on the container engine used.

test/utils.py Outdated Show resolved Hide resolved
@joerick joerick marked this pull request as draft May 15, 2023 08:24
@joerick
Copy link
Contributor Author

joerick commented May 15, 2023

I don't expect this to change much, but I'll mark as draft until I can get the tests to pass!

@joerick joerick marked this pull request as ready for review May 16, 2023 17:33
@joerick
Copy link
Contributor Author

joerick commented May 16, 2023

Travis failure looks unrelated. Ready for review!

cibuildwheel/oci_container.py Outdated Show resolved Hide resolved
cibuildwheel/oci_container.py Show resolved Hide resolved
unit_test/oci_container_test.py Outdated Show resolved Hide resolved
Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com>
@joerick joerick merged commit b2bc6fd into main May 26, 2023
24 of 25 checks passed
@joerick joerick deleted the docker-flags branch May 26, 2023 20:07
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.

Okay to add arbitrary flags to docker create?
2 participants