chore(docker): Failure messages if PUID/PGID are still in use

pull/101/head
Robert Dailey 2 years ago
parent f2a86489be
commit 7fa36b9c8c

@ -1,6 +1,16 @@
#!/bin/sh
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
# with something like:
#

Loading…
Cancel
Save