🔧 Allow to run devenv as root

This commit is contained in:
David Barragán Merino
2026-01-19 13:38:05 +01:00
parent fdf5bb250b
commit 0a60fac307

View File

@@ -4,7 +4,9 @@ set -e
EMSDK_QUIET=1 . /opt/emsdk/emsdk_env.sh;
usermod -u ${EXTERNAL_UID:-1000} penpot;
if [ "${EXTERNAL_UID:-1000}" -ne 0 ]; then
usermod -u ${EXTERNAL_UID:-1000} penpot;
fi
cp /root/.bashrc /home/penpot/.bashrc
cp /root/.vimrc /home/penpot/.vimrc