mirror of
https://github.com/penpot/penpot.git
synced 2025-06-13 06:11:39 +02:00
✨ Move several logic from init to entrypoint on devenv
For make commands consistent independently if they are executed inside devenv or from manage.sh
This commit is contained in:
parent
f067c86b02
commit
46f330fef3
3 changed files with 8 additions and 7 deletions
|
@ -2,6 +2,14 @@
|
|||
|
||||
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 "$@"
|
||||
|
|
|
@ -1,11 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
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
|
||||
chown -R penpot:users /home/cargo;
|
||||
|
||||
set -e
|
||||
nginx
|
||||
tail -f /dev/null
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
# NOTE: this script should be called from the parent directory to
|
||||
# properly work.
|
||||
|
||||
|
||||
export INCLUDE_STORYBOOK=${BUILD_STORYBOOK:-no};
|
||||
export INCLUDE_WASM=${BUILD_WASM:-yes};
|
||||
export CURRENT_VERSION=$1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue