The Crystal Programming Language Forum

Official Alpine Docker image

I would like to suggest having an official Crystal Alpine docker image available on DockerHub, like Ruby does

I found this unofficial image, which seems to work, but it would be nice to have something more formal.

Also, as a side note - I am not sure what are the minimum requirements by DockerHub to become an official library repository, but it would be nice if Crystal is accepted as an official library repo, rather than a repo of the “crystallang” user. So we can FROM crystal:alpine in our Dockerfiles.

4 Likes

Yes, we should provide an official Alpine image.
The thing is, it should not depend on the Crystal package in aports to avoid release delays. So we need to build it ourselves, which technically is not an issue, but the details of making it ready for distribution.

I’m waiting for feedback in https://github.com/crystal-lang/distribution-scripts/pull/29

This is also very relevant for running CI against musl (https://github.com/crystal-lang/crystal/issues/2275 and https://github.com/crystal-lang/crystal/issues/6943).

1 Like