Friendly Syntax & Toolchain Powered by OCaml http://facebook.github.io/reason
277
A Docker file for Reason development.
docker build -t reason .All set!
Start the Reason interactive top-level with:
$ docker run -it reason rtop
Assuming that you have a reason project directory called hello_reason with a
single file hello.re:
$ cat hello.re
print_string "Hello, Reason!\n"
To build the hello native app:
$ cd hello_reason
$ docker run -it -v `pwd`:/src reason
$ cd /src
$ rebuild hello.native
$ ./hello.native
Hello, Reason!
You can further edit your source file from the host machine and rebuild the
native app from your docker container. The build artifacts are found in your
host machines hello_reason directory.
Content type
Image
Digest
Size
570.4 MB
Last updated
over 9 years ago
docker pull jihchi/reason