Distributing the binary as a docker image
I'm playing with mojo at ArchLinux and I am very excited about it, considering it is not yet supporting Windows, nor cross compilation, I would like to build a docker image of my binary, and import it at my Windows docker desktop, I would like to import from the scratch docker, what is the minimal setup or dependencies that should be including in my docker image to get the binary built using mojo run smoothly?
4 Replies
Congrats @Hasan Yousef, you just advanced to level 1!
I think you should not need much if you're using compiled binary.
Just add it, copy the dependencies explicitly used in the file, and build the image
I believe it should run smoothly
Thanks, but what if I'm using some python function or library?
Then I believe you need python in the image as well
Along with the specific libraries if not from the standard library