2.7.0
The archive plugin now supports Apple's container CLI as an alternative to Docker for building Lambda deployment packages.
Pass --container-cli container to use it instead of the default Docker path. The plugin translates commands accordingly, using container image pull and container run under the hood.
To use it:
swift package --disable-sandbox --allow-network-connections docker archive --container-cli containerNote that even when using Apple's container CLI, you still need to pass --allow-network-connections docker on the command line. This is a SwiftPM limitation, not something the plugin controls. In a future version, SPM will not prompt for specific authorization when --disable-sandbox is specified (see swiftlang/swift-package-manager#9763)
Docker remains the default. If you don't pass --container-cli, nothing changes.
What's Changed
SemVer Minor
- feat: Added support for apple container by @manojmahapatra in #647
Full Changelog: 2.6.3...2.7.0