2 ms·
You can use my alpine docker image to statically compile without any fuss: https://hub.docker.com/r/durosoft/crystal-alpine/ https://hub.docker.com/r/durosoft/c
by sam0x17 8y ago
You can use my alpine docker image to statically compile without any fuss: https://hub.docker.com/r/durosoft/crystal-alpine/ https://hub.docker.com/r/durosoft/crystal-alpine/
I'll be updating it later today with 0.25.1 support.
You can statically compile a local crystal file using a docker one-liner that is included in the description.
- snake_case 8y agoThat's great! I've only heard complaints that it's difficult to statically compile. Sounds like a solved problem though.
- sam0x17 8y agoThe docker approach is I think a well kept secret but I'm trying to get more people to realize it's a thing. My gcf.cr tool abstracts this away for you if you are deploying to a Google Cloud Function