Files
dokku/tests/apps/dockerfile-entrypoint/entrypoint
2020-08-31 18:36:07 -04:00

10 lines
172 B
Bash
Executable File

#!/bin/bash
set -o pipefail
if [[ "$1" == touch* ]]; then
echo "entrypoint script started with arguments $@"
touch "$(echo $@ | awk '{print $2}')"
else
exec "$@"
fi