mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01: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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user