Skip to content

Conversation

@euanh
Copy link
Contributor

@euanh euanh commented Jan 24, 2025

If --from-container-image is specified without --with-docker, the generator builds an SDK from Debian packages, completely ignoring the user's clear intent to build from a container image.

For now, we can assume that a user who specifies --from-container-image also wants to use a container runtime. In future we might be able to support extracting container images without the need for a
runtime. If that happens, we can stop assuming --with-docker
and commands which only specify --from-container-image will continue
to work, so scripts and documentation won't need to be changed.

@euanh euanh added the enhancement New feature or request label Jan 24, 2025
@euanh euanh requested a review from MaxDesiatov as a code owner January 24, 2025 10:45
@euanh
Copy link
Contributor Author

euanh commented Jan 24, 2025

@swift-ci test

If --from-container-image is specified without --with-docker,
the generator builds an SDK from Debian packages, completely
ignoring the user's clear intent to build from a container
image.

For now, we can assume that a user who specifies --from-container-image
also wants to use a container runtime.  In future we might be able
to support extracting container images without the need for a
runtime.   If that happens, we can stop assuming --with-docker
and commands which only specify --from-container-image will continue
to work, so scripts and documentation won't need to be changed.
@euanh euanh force-pushed the implicit-with-docker branch from c726e57 to ac06500 Compare January 24, 2025 10:50
@euanh euanh enabled auto-merge (squash) January 24, 2025 10:50
@euanh
Copy link
Contributor Author

euanh commented Jan 24, 2025

@swift-ci test

@euanh euanh merged commit 495c5a3 into swiftlang:main Jan 24, 2025
2 of 3 checks passed
@euanh euanh deleted the implicit-with-docker branch January 24, 2025 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants