Files
bash/devel/docker-entrypoint.sh
Tianon Gravi 11b071d556 Add "devel" variant from Chet's "devel" branch
Chet updates a "devel" branch in https://git.savannah.gnu.org/cgit/bash.git roughly every seven days, which is a very reasonable cadence and worth publishing an image for.
2019-07-12 14:10:07 -07:00

12 lines
212 B
Bash
Executable File
Generated

#!/usr/bin/env bash
set -Eeuo pipefail
# first arg is `-f` or `--some-option`
# or there are no args
if [ "$#" -eq 0 ] || [ "${1#-}" != "$1" ]; then
# docker run bash -c 'echo hi'
exec bash "$@"
fi
exec "$@"