We embedded COMPSs installation within OW specific action. The COMPSs based OW action can be used as master and worker or as master only by specifying remote worker, and the action code will adapt accordingly.
docker build -f <path-to-docker-file>/Dockerfile -t comps /opt/COMPSs
docker tag comps <repo-name>/<name>:version
docker push <repo-name>/<name>
sadek/compss:3.7
zip -r action_files.zip __main__.py <comps_app.py>
wsk action update -i compss_3.7 --docker <repo-name>/<name>:version -m 512 -t 300000 action_files.zip
wsk action invoke compss_3.7 --param app_args 2 --param outfile 'counter' --param compsapppath simple.py -br
wsk action invoke compss_3.7 --param app_args 2 --param outfile 'counter' --param compsapppath simple.py -br
copy_files.py is a tool built to ease the distribution of compss app files to workers
python copy_files.py ./comps-runtime/.ssh/id_rsa 'x.x.x.x, y.y.y.y' ./simple1.py /usr/local