Dockerfile for build curaengine
$ docker build . -t cura
$ docker run -it cura /bin/bash
Change dir to /CuraEngine/build
$ cd /CuraEngine/build
$ wget https://raw.githubusercontent.com/Ultimaker/Cura/4.4/resources/definitions/fdmprinter.def.json
$ wget https://raw.githubusercontent.com/Ultimaker/Cura/4.4/resources/definitions/fdmextruder.def.json
$ wget https://raw.githubusercontent.com/Ultimaker/Cura/4.4/resources/definitions/prusa_i3.def.json
$ wget https://raw.githubusercontent.com/KrisRoofe/curaengine-dockerfile/master/herringbone-gear-large.stl
$ ./CuraEngine slice -p -j ./fdmprinter.def.json -j prusa_i3.def.json -l herringbone-gear-large.stl -o herringbone-gear-large.gcode