huginn/bin/docker_wrapper
Peng Bai c6efb548d7 Make Docker image runnable as non-root user
docker/single-process: add DOCKER_CMD environment variable to trigger
                     worker task (e.g., -e DOCKER_CMD='bin/threaded')
bin/docker_wrapper: a wrapper to chmod -R g=u
2017-10-11 11:29:28 -05:00

3 lines
51 B
Bash
Executable file

#!/usr/bin/env bash
chmod -R g=u . && docker "$@"