Sign inSign up

durosoft/crystal-alpine

By durosoft

•Updated over 6 years ago

Statically compile crystal programs with tags for (almost) every version since 0.25.0

Image
4

2.1K

durosoft/crystal-alpine repository overview

This repository is deprecated as the crystal org now provides alpine-based docker images: https://hub.docker.com/r/crystallang/crystal/tags⁠

You can statically compile a crystal program as follows, where test.cr is a file in the current directory:

docker run --rm -it -v $PWD:/app -w /app durosoft/crystal-alpine:0.25.0 crystal build test.cr -o crystal_function --release --static --no-debug

For more information and the source Dockerfile, see here: https://github.com/sam0x17/crystal-alpine⁠

Tag summary

Content type

Image

Digest

Size

172.3 MB

Last updated

almost 7 years ago

docker pull durosoft/crystal-alpine