k3s/scripts/entry.sh

12 lines
144 B
Bash
Raw Normal View History

2019-01-01 08:23:01 +00:00
#!/bin/bash
set -e
mkdir -p bin dist
if [ -e ./scripts/$1 ]; then
./scripts/"$@"
else
exec "$@"
fi
chown -R $DAPPER_UID:$DAPPER_GID .