mirror of
https://github.com/penpot/penpot.git
synced 2025-06-15 22:51: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
|
set -e
|
||||||
|
|
||||||
|
EMSDK_QUIET=1 . /home/emsdk/emsdk_env.sh;
|
||||||
|
|
||||||
usermod -u ${EXTERNAL_UID:-1000} penpot;
|
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 "$@"
|
exec "$@"
|
||||||
|
|
|
@ -1,11 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/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
|
set -e
|
||||||
nginx
|
nginx
|
||||||
tail -f /dev/null
|
tail -f /dev/null
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
# NOTE: this script should be called from the parent directory to
|
# NOTE: this script should be called from the parent directory to
|
||||||
# properly work.
|
# properly work.
|
||||||
|
|
||||||
|
|
||||||
export INCLUDE_STORYBOOK=${BUILD_STORYBOOK:-no};
|
export INCLUDE_STORYBOOK=${BUILD_STORYBOOK:-no};
|
||||||
export INCLUDE_WASM=${BUILD_WASM:-yes};
|
export INCLUDE_WASM=${BUILD_WASM:-yes};
|
||||||
export CURRENT_VERSION=$1;
|
export CURRENT_VERSION=$1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue