chore: remove unused docker entrypoint script

This commit is contained in:
kolaente 2024-02-28 15:32:33 +01:00
parent 09d446765d
commit f18cde269b
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 0 additions and 15 deletions

View File

@ -1,15 +0,0 @@
#!/usr/bin/env sh
set -e
if [ -n "$PUID" ] && [ "$PUID" -ne 0 ] && \
[ -n "$PGID" ] && [ "$PGID" -ne 0 ] ; then
echo "info: creating the new user vikunja with $PUID:$PGID"
groupmod -g "$PGID" -o vikunja
usermod -u "$PUID" -o vikunja
chown -R vikunja:vikunja ./files/
chown vikunja:vikunja .
exec su vikunja -c /app/vikunja/vikunja "$@"
else
echo "info: creation of non-root user is skipped"
exec /app/vikunja/vikunja "$@"
fi