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

podman_compose.py: support "platform" property in the build command #1009

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

bkueng
Copy link
Contributor

@bkueng bkueng commented Jul 22, 2024

This was already added to container_to_args() in #470 which is used for the 'up' and 'run' commands.

Definition in the schema: https://github.com/compose-spec/compose-spec/blob/main/schema/compose-spec.json#L329

Should I add a unit test? Are there any for the build command already?

This was already added to container_to_args() in containers#470
which is used for the 'up' and 'run' commands.

Definition in the schema: https://github.com/compose-spec/compose-spec/blob/main/schema/compose-spec.json#L329

Signed-off-by: Beat Küng <beat-kueng@gmx.net>
@p12tic
Copy link
Collaborator

p12tic commented Jul 26, 2024

Rebased and added newsfragment.

There are no unit tests for build command and I will not ask to create such tests for now.

Copy link
Collaborator

@p12tic p12tic left a comment

Choose a reason for hiding this comment

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

Thanks for adding this feature.

@p12tic p12tic merged commit 3aa6d4d into containers:main Jul 26, 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