penpot/docker/devenv/files/entrypoint.sh
Andrey Antukh 46f330fef3 Move several logic from init to entrypoint on devenv
For make commands consistent independently if they are executed
inside devenv or from manage.sh
2025-06-02 19:10:48 +02:00

15 lines
279 B
Bash
Executable file

#!/usr/bin/env bash
set -e
EMSDK_QUIET=1 . /home/emsdk/emsdk_env.sh;
usermod -u ${EXTERNAL_UID:-1000} penpot;
cp /root/.bashrc /home/penpot/.bashrc
cp /root/.vimrc /home/penpot/.vimrc
cp /root/.tmux.conf /home/penpot/.tmux.conf
chown -R penpot:users /home/penpot
exec "$@"