-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
crystal:0.36.1-alpine missing yaml-static #84
Comments
Hm, the new images should be based on alpine 3.12 and not include that commit. |
Related?: #63 (comment). |
libyaml it's not missing. In that docker image you can see that
But the static libyaml is not there which seems to be what you want.
After that your program will link with --static. The 3.13 image does have |
In the current image, it seems the repository is still 3.12. Is this the cause? $ docker run --rm -it crystallang/crystal:0.36.1-alpine cat /etc/apk/repositories
http://dl-cdn.alpinelinux.org/alpine/v3.12/main
http://dl-cdn.alpinelinux.org/alpine/v3.12/community
$ docker images | grep 0.36.1-alpine
crystallang/crystal 0.36.1-alpine 32474966bd9f 3 days ago 314MB |
@maiha the images were reverted to 3.12 for the CI as explained in crystal-lang/crystal#10366 (comment) . The issue on that image the lack of yaml-static which I think is optional and as any library can be tweaked by the user. |
Easy enough to workaround downstream for now. Given it was available previously and is needed running a static build using only std lib components, is it worth reintroducing it to the 3.12 based image? |
Closing. The latest docker images all contain |
A new Alpine image for 0.36.1 made it's way to docker hub last night. This is unable to statically compile crystal programs that use YAML.
Reduced example: https://gist.github.com/kimburgess/2a740af0f2c8bc5b217a9fa47638df0e.
Cause appears to be bdff883Build output:
The text was updated successfully, but these errors were encountered: