Sign inSign up

guitmz/nim-builder

By guitmz

•Updated about 10 years ago

Docker container to run and build Nim code

Image
1

407

guitmz/nim-builder repository overview

!!! This is no longer supported, you should use https://hub.docker.com/r/nimlang/nim/⁠ instead :)

Docker container to run and build Nim code.

This image is based on alpine Linux and has a total size of 162.6 MB. Be advised that the final executable will be linked with musl libc and for that reason, the output will be a static binary for compatibility.

⁠Usage:

  • docker pull guitmz/nim-builder
  • To run your program: docker run -t --rm -v $(pwd -P)/:/tmp/ nim-builder run /tmp/file.nim
  • To build your program: docker run -t --rm -v $(pwd -P)/:/tmp/ nim-builder build /tmp/file.nim
  • Note that the executable will be placed on the folder you monted to the container (ie: $(pwd -P))

Source at: https://github.com/guitmz/nim-builder⁠

Tag summary

Content type

Image

Digest

Size

51.2 MB

Last updated

about 10 years ago

docker pull guitmz/nim-builder