0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 06:02:32 -05:00

Improve consistency on devenv initialization

This commit is contained in:
Andrey Antukh 2024-11-14 17:23:14 +01:00
parent b81ffa422f
commit 058c3707c8
3 changed files with 5 additions and 9 deletions

View file

@ -1,5 +1,3 @@
version: "3"
networks:
default:
driver: bridge

View file

@ -1,5 +1,10 @@
#!/usr/bin/env bash
export JAVA_OPTS=${JAVA_OPTS:-"-Xmx1000m -Xms200m"};
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
EMSDK_QUIET=1 . /usr/local/emsdk/emsdk_env.sh;
source /usr/local/cargo/env
alias l='ls --color -GFlh'
alias rm='rm -r'
alias ls='ls --color -F'

View file

@ -1,12 +1,5 @@
#!/usr/bin/env bash
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