A Docker file for Reason development.
docker build -t reason .
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
$ 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