File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1818# source scripts/_script-wrapper.sh
1919
2020if [[ -n " $RUNNING_IN_CONTAINER " ]] || which " $PROCESS " > /dev/null 2>&1 ; then
21- do_it
21+ do_it " $@ "
2222elif which docker > /dev/null 2>&1 ; then
2323 docker run --rm \
2424 --volume .:/workspace \
2525 --user " $( id -u) :$( id -g) " \
2626 --env RUNNING_IN_CONTAINER=true \
2727 " $DOCKER_IMAGE " \
28- " /workspace/scripts/$SCRIPT_NAME "
28+ " /workspace/scripts/$SCRIPT_NAME " " $@ "
2929elif which podman > /dev/null 2>&1 ; then
3030 podman run --rm \
3131 --volume .:/workspace \
3232 --userns=keep-id \
3333 --env RUNNING_IN_CONTAINER=true \
3434 " $DOCKER_IMAGE " \
35- " /workspace/scripts/$SCRIPT_NAME "
35+ " /workspace/scripts/$SCRIPT_NAME " " $@ "
3636else
3737 if [[ -n " $PROCESS " ]]; then
3838 echo " Either '$PROCESS ', 'docker' or 'podman' has to be installed to run this script."
You can’t perform that action at this time.
0 commit comments