Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 895 Bytes

File metadata and controls

31 lines (21 loc) · 895 Bytes

Docker for JaCaMo

This project contains docker instructions related to JaCaMo platform.

Docker Hub link

Creating JaCaMo applications

To create an application identified by helloworld, enter the following command:

docker run -ti --rm -v .:/app -v ./gcache:/root/.gradle jomifred/jacamo:1.3 app create /app/helloworld --console

NB: the tag 1.3 correspond to the version of JaCaMo.

Running JaCaMo applications

Commands for console applications (assuming it was created as above):

cd helloworld
docker run -ti --rm -v .:/app -w /app -v ./gcache:/root/.gradle jomifred/jacamo:1.3 helloworld.jcm

Commands for GUI applications (on unix):

xhost +
cd <your application directory>
docker run  -ti --rm -e DISPLAY=host.docker.internal:0 -v .:/app -w /app jomifred/jacamo:1.3 <your .jcm file>