This commit is contained in:
Sambo Chea 2021-07-14 17:52:46 +07:00
parent cd0490fb70
commit be58ae76d0

View File

@ -31,4 +31,4 @@ echo "My name is: $(whoami)"
echo "Start executing docker..."
exec docker run --workdir "$WORKDIR" -v "$WORKDIR":"$WORKDIR" -v "/var/run/docker.sock":"/var/run/docker.sock" --entrypoint=sh $INPUT_IMAGE -c "docker ps; ls"
exec docker run --workdir /github/workspace -v "/github/workspace":"/github/workspace" -v "/var/run/docker.sock":"/var/run/docker.sock" --entrypoint=sh $INPUT_IMAGE -c "docker version; docker ps; pwd; ls"