Skip to content

Comments

feat: Added support for apple container#647

Merged
sebsto merged 3 commits intoawslabs:mainfrom
manojmahapatra:feat/apple-container
Feb 23, 2026
Merged

feat: Added support for apple container#647
sebsto merged 3 commits intoawslabs:mainfrom
manojmahapatra:feat/apple-container

Conversation

@manojmahapatra
Copy link
Contributor

Issue #

#644

Description of changes

  • Added --container-cli option to the archive SwiftPM plugin so users can choose Docker (default) or Apple container
  • Implemented Apple container support by switching pull/run commands to container image pull and container run
  • Documented the Apple container path in readme.md
  • swift test passed

New/existing dependencies impact assessment, if applicable

N/A

Conventional Commits

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@manojmahapatra manojmahapatra changed the title Feat/apple container feat: Added support for apple container Feb 22, 2026
@sebsto sebsto added the 🆕 semver/minor Adds new public API. label Feb 22, 2026
@sebsto sebsto assigned sebsto and manojmahapatra and unassigned sebsto Feb 22, 2026
Copy link
Collaborator

@sebsto sebsto left a comment

Choose a reason for hiding this comment

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

LGTM - I will test on my machine before merging :-)
One small nit on the README

@sebsto
Copy link
Collaborator

sebsto commented Feb 23, 2026

I filed a bug against SPM
swiftlang/swift-package-manager#9763

@sebsto
Copy link
Collaborator

sebsto commented Feb 23, 2026

Question: should we rename the function buildInDocker to something else ? buildInContainer ? (with the generic usage of the word container) - but this is confusing because it's also the name of the container CLI.

What do you think?

@manojmahapatra
Copy link
Contributor Author

manojmahapatra commented Feb 23, 2026

Question: should we rename the function buildInDocker to something else ? buildInContainer ? (with the generic usage of the word container) - but this is confusing because it's also the name of the container CLI.

What do you think?

That's good point. we can perhaps rename it something akin to buidInContainerEnvironment to make it sound like generic container based path? Plus the function is private, I'll be not worried too much.

@sebsto
Copy link
Collaborator

sebsto commented Feb 23, 2026

Plus the function is private, I'll be not worried too much.

Correct. That's something I can change in the new plugin implementation too

@sebsto
Copy link
Collaborator

sebsto commented Feb 23, 2026

Wow - the SPM fix is waiting to be merged. swiftlang/swift-package-manager#9764
But it won't land until a future Swift release.

@manojmahapatra
Copy link
Contributor Author

Oh wow...that was super quick :)

Copy link
Collaborator

@sebsto sebsto left a comment

Choose a reason for hiding this comment

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

LGTM

@sebsto sebsto enabled auto-merge (squash) February 23, 2026 15:53
@sebsto sebsto disabled auto-merge February 23, 2026 15:56
@sebsto sebsto merged commit 6aa4387 into awslabs:main Feb 23, 2026
97 of 98 checks passed
@manojmahapatra manojmahapatra deleted the feat/apple-container branch February 23, 2026 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🆕 semver/minor Adds new public API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants