crystal-lang / distribution-scripts

40 stars 23 forks source link

Update docker images for use with docker buildx #211

Open caspiano opened 1 year ago

caspiano commented 1 year ago

This includes support of aarch64 builds. Additions of further platforms are limited by docker builder platform support.

Adds scripts/shallow-clone.sh to fetch a single reference (tag, sha1, branch) from a remote.

GC_VERSION has been bumped from 8.2.0 to 8.2.2

Libs are built with -O3 instead of -O2

straight-shoota commented 1 year ago

What's the reason for shallow-clone.sh? This should work with passing --branch and --depth 1 to the existing git clone commands. Note that --branch also takes tags. It just won't work with commit hashes, so I suppose that would be the only use case that requires this script instead of using vanilla git commands?

caspiano commented 1 year ago

@straight-shoota I took heed of discussion in #52. I think having the option to use a commit in addition to other references is useful enough to warrant the script.

miry commented 8 months ago

Hi @caspiano. I wonder what the status of this PR?