cutter/docker/entrypoint.sh
2020-12-16 11:59:23 +01:00

10 lines
253 B
Bash
Executable File

#!/bin/bash
USERNAME="rizin"
echo "Cutter: Starting with UID:GID $LOCAL_USER_ID:$LOCAL_GROUP_ID"
usermod -u $LOCAL_USER_ID $USERNAME
usermod -g $LOCAL_GROUP_ID $USERNAME
export HOME=/home/$USERNAME
exec su-exec $USERNAME "/opt/cutter/build/Cutter" $@