Dockerfile for Nim cross-compiler
- Nim: dom96/choosenim
- CrossCompiler
- Windows: mingw-w64
- MacOS: tpoechtrager/osxcross -> andrewd/osxcross
- Linux: musl
Look at example directory.
- /usr/local/src/: working dir
- /usr/bin/x86_64-w64-mingw32-gcc: compiler for 64 bit Windows
- /usr/bin/i686-w64-mingw32-gcc: compiler for 32 bit Windows
- /opt/osxcross/target/bin/o64-clang: compiler for 64 bit MacOSX
- /opt/osxcross/target/bin/o32-clang: compiler for 32 bit MacOSX
- /usr/bin/musl-gcc: compiler for Linux(musl)
default command is bash
.