Skip to content

Commit 1cd63ec

Browse files
committed
fix: exposing docker socket for DinD
1 parent 32e3e5a commit 1cd63ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ fi
66

77
echo "$INPUT_RUN" | sed -e 's/\\n/;/g' > semicolon_delimited_script
88

9-
exec docker run $INPUT_OPTIONS --entrypoint=$INPUT_SHELL $INPUT_IMAGE -c "`cat semicolon_delimited_script`"
9+
exec docker run -v "/var/run/docker.sock":"/var/run/docker.sock" $INPUT_OPTIONS --entrypoint=$INPUT_SHELL $INPUT_IMAGE -c "`cat semicolon_delimited_script`"

0 commit comments

Comments
 (0)