fix: exposing docker socket for DinD

This commit is contained in:
Abdud Dayan Adeeb 2020-06-24 15:16:56 -04:00
parent 32e3e5ab6a
commit 1cd63ec344

View File

@ -6,4 +6,4 @@ fi
echo "$INPUT_RUN" | sed -e 's/\\n/;/g' > semicolon_delimited_script
exec docker run $INPUT_OPTIONS --entrypoint=$INPUT_SHELL $INPUT_IMAGE -c "`cat semicolon_delimited_script`"
exec docker run -v "/var/run/docker.sock":"/var/run/docker.sock" $INPUT_OPTIONS --entrypoint=$INPUT_SHELL $INPUT_IMAGE -c "`cat semicolon_delimited_script`"