mirror of
https://github.com/penpot/penpot.git
synced 2026-02-12 14:42:56 +00:00
🔧 Allow to run devenv as root
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user