Commit c496aeb1 authored by nimrod's avatar nimrod
Browse files

If the image name isn't specified, use the same name as created by docker Build.

parent f7afac2c
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
#!/bin/sh
set -eu
if [ "$#" -eq '0' ]
then
    exec docker run --rm -Pitv "$PWD:/volume" "$(basename "$PWD" | awk "{print tolower(\$0)}" )"
else
    exec docker run --rm -Pitv "$PWD:/volume" "$@"
fi