Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 823 Bytes

File metadata and controls

30 lines (20 loc) · 823 Bytes

Trying to emulate a docker executor that can be used in processmaker

Looking at https://github.com/ProcessMaker/docker-executor-java/blob/develop/README.md for inspiration

Command line use

docker run --rm -it
processmaker4/executor-processmaker-python-4:v1.0.0
/bin/bash echo {} > data.json echo {} > config.json echo 'print("Hello World")' > Script.py ./run.sh cat output.json

#-v :/opt/executor/data.json #

-v :/opt/executor/config.json \

-v :/opt/executor/Script.py \

-v :/opt/executor/output.json \

processmaker4/docker-executor-java \

/opt/executor/run.sh

Get processmaker to generate image

Need to have processmaker running.

php artisan docker-executor-python:install