DEV Community

Discussion on: A Crystal Story: A container that sails!

Collapse
franciscello profile image
Franciscello Author

Hey David! Thanks for the comment and good observation! While writing this post I also thought that when using --static I wouldn't need to copy the dependencies. But then @bcardiff sent me this reference:

Building fully statical linked executables is currently only supported on Alpine Linux.
crystal-lang.org/reference/using_t...

And here is another good reference about statically compiling dependencies: crystal-lang.org/2020/02/02/alpine...