-
Notifications
You must be signed in to change notification settings - Fork 2
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
docker: Build with Alpine Linux #58
base: master
Are you sure you want to change the base?
Conversation
For KaruroChori#50 [skip ci] This image will build, but swift is not available [SR-4632] Swift on Alpine Linux (support musl libc) swiftlang/swift#47209 Image sizes: This is 1.1GB, the Debian image is currently 3.83 This PR can be closed and use for future use.
That would be very bad. Supporting musl libc is not really negotiable, but my understanding was that Swift 6 was capable. |
# https://github.com/swiftlang/swift/issues/47209 | ||
# Swift on Alpine not yet supported | ||
# | ||
# RUN curl -s https://archive.swiftlang.xyz/install.sh | bash && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When this ran, I got the error that the operating system was unsupported.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
musl support is an open issue under certain conditions, but that looks like more of an arbitrary restriction of the installer script. I need to test it in a real env.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get it. Swift can crosscompile to support musl and so alpine as target. It cannot run on it yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. For reference: Building from source or the options above it. That could be done in the Dockerfile.
For the time being I would suggest we stop working on alpine for docker. Support of alpine as a target is much more important than supporting swift as a language within this repo. Still, building directly on alpine is less of a strict requirement, as long as |
a7f9aa9
to
885f8e5
Compare
61bd0a0
to
6f6c830
Compare
For #50
[skip ci]
This image will build, but swift is not available
[SR-4632] Swift on Alpine Linux (support musl libc) swiftlang/swift#47209
Image sizes:
This is 1.1GB, the Debian image is currently 3.83
This PR can be closed and use for future use.