|
|
@ -1,6 +1,16 @@
|
|
|
|
#!/bin/sh
|
|
|
|
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
set -e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [[ ! -z ${PUID+x} ]]; then
|
|
|
|
|
|
|
|
echo 'PUID is no longer supported. Use `--user` instead.'
|
|
|
|
|
|
|
|
exit 1
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [[ ! -z ${PGID+x} ]]; then
|
|
|
|
|
|
|
|
echo 'PGID is no longer supported. Use `--user` instead.'
|
|
|
|
|
|
|
|
exit 1
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
# If the script has any arguments, invoke the CLI instead. This allows the image to be used as a CLI
|
|
|
|
# If the script has any arguments, invoke the CLI instead. This allows the image to be used as a CLI
|
|
|
|
# with something like:
|
|
|
|
# with something like:
|
|
|
|
#
|
|
|
|
#
|
|
|
|