Updated shell and entrypoint
This commit is contained in:
parent
ad26e9d001
commit
1c3f7a6a60
@ -27,5 +27,13 @@ if [ -z $semicolon_delimited_script ];
|
|||||||
then semicolon_delimited_script="echo $(whoami)"
|
then semicolon_delimited_script="echo $(whoami)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "End.............................."
|
echo "My name is: $(whoami)"
|
||||||
#exec docker run -v "/var/run/docker.sock":"/var/run/docker.sock" $INPUT_OPTIONS --workdir $WORKDIR -v $WORKDIR:"/github/workspace" --entrypoint=$INPUT_SHELL $INPUT_IMAGE -c "`cat semicolon_delimited_script`"
|
|
||||||
|
echo "Start executing docker..."
|
||||||
|
|
||||||
|
INPUT_OPTIONS="--workdir $WORKDIR -v $WORKDIR:$WORKDIR $INPUT_OPTIONS"
|
||||||
|
echo $INPUT_OPTIONS
|
||||||
|
|
||||||
|
docker ps
|
||||||
|
|
||||||
|
exec docker run -v "/var/run/docker.sock":"/var/run/docker.sock" $INPUT_OPTIONS --entrypoint=$INPUT_SHELL $INPUT_IMAGE -c "`cat semicolon_delimited_script`"
|
Loading…
Reference in New Issue
Block a user