Git Product home page Git Product logo

Comments (7)

straight-shoota avatar straight-shoota commented on June 11, 2024 2

Closing. The latest docker images all contain yaml-static.

from distribution-scripts.

straight-shoota avatar straight-shoota commented on June 11, 2024

Hm, the new images should be based on alpine 3.12 and not include that commit.

ref crystal-lang/crystal#10366 (comment)

from distribution-scripts.

Blacksmoke16 avatar Blacksmoke16 commented on June 11, 2024

Related?: #63 (comment).

from distribution-scripts.

bcardiff avatar bcardiff commented on June 11, 2024

libyaml it's not missing. In that docker image you can see that

# pkg-config yaml-0.1 --libs
-lyaml 

But the static libyaml is not there which seems to be what you want.

# apk add --update yaml-static

After that your program will link with --static.

The 3.13 image does have yaml-static, but that was a new addition.

from distribution-scripts.

maiha avatar maiha commented on June 11, 2024

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

from distribution-scripts.

bcardiff avatar bcardiff commented on June 11, 2024

@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.

from distribution-scripts.

kimburgess avatar kimburgess commented on June 11, 2024

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?

from distribution-scripts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.