mirror of
https://github.com/penpot/penpot.git
synced 2026-04-30 13:49:06 +00:00
🔧 Allow to run devenv as root
This commit is contained in:
parent
fdf5bb250b
commit
0a60fac307
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user