Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 601 Bytes

docker.md

File metadata and controls

25 lines (17 loc) · 601 Bytes

Running the interpreter in Docker

From the root directory of the project, run:

docker build -f misc/docker/Dockerfile -t interpretercontainer .

This will create the interpretercontainer container. Then

docker run -it interpretercontainer

If you want to execute rpg programs from your current directory, you can mount it in the /rpg directory of the container:

docker run -it -v $PWD:/rpg interpretercontainer

You can find a prebuilt docker image on dockerhub. Run it, for example, this way:

docker run -it -v $PWD:/rpg rpginterpreter/interpretercontainer