lbry-docker/lbrycrd/linux-x86_64-compiler/docker-entrypoint.sh
Leopere 8d14acacf9 Cleanup and moved Dockerfiles
Moved lbrycrd Dockerfiles to appropriate subdirectories and removed.
2019-04-23 23:45:52 -04:00

13 lines
300 B
Bash

#!/usr/bin/env bash
# default to run whatever the user wanted like "/bin/bash"
## If user runs no need to run any more of the entrypoint script.
if [[ -z "$@" ]]; then
echo "User did not attempt input. Now executing docker-entrypoint."
else
echo "Running $@."
exec "$@"
exit 1
fi
/bin/bash