0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-22 22:49:01 -05:00

📎 Update devenv entrypoint

This commit is contained in:
Andrey Antukh 2024-11-14 14:38:40 +01:00
parent e54f213b3f
commit b81ffa422f
2 changed files with 5 additions and 8 deletions

View file

@ -1,19 +1,11 @@
#!/usr/bin/env bash
export PATH=/usr/local/cargo/bin:/usr/lib/jvm/openjdk/bin:/usr/local/nodejs/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
export JAVA_OPTS=${JAVA_OPTS:-"-Xmx1000m -Xms200m"};
alias l='ls --color -GFlh'
alias rm='rm -r'
alias ls='ls --color -F'
alias lsd='ls -d *(/)'
alias lsf='ls -h *(.)'
# init Cargo / Rust env
. "/usr/local/cargo/env"
# init emscripten
EMSDK_QUIET=1 . "/usr/local/emsdk/emsdk_env.sh"
# include .bashrc if it exists
if [ -f "$HOME/.bashrc.local" ]; then
. "$HOME/.bashrc.local"

View file

@ -2,6 +2,11 @@
export PATH=/usr/lib/jvm/openjdk/bin:/usr/local/nodejs/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
source /usr/local/emsdk/emsdk_env.sh;
source /usr/local/cargo/env
export JAVA_OPTS=${JAVA_OPTS:-"-Xmx1000m -Xms200m"};
set -e
usermod -u ${EXTERNAL_UID:-1000} penpot