0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-05 11:31:35 -05:00

🐛 Fix build commands on devenv.

This commit is contained in:
Andrey Antukh 2021-03-25 09:05:32 +01:00
parent 27d28f7baf
commit 41b5374027
3 changed files with 11 additions and 0 deletions

View file

@ -146,6 +146,7 @@ COPY files/phantomjs-mock /usr/bin/phantomjs
COPY files/bashrc /root/.bashrc
COPY files/vimrc /root/.vimrc
COPY files/tmux.conf /root/.tmux.conf
COPY files/sudoers /etc/sudoers
COPY files/start-tmux.sh /home/start-tmux.sh
COPY files/entrypoint.sh /home/entrypoint.sh

View file

@ -1,5 +1,7 @@
#!/usr/bin/env bash
export PATH=/usr/lib/jvm/openjdk16/bin:/usr/local/nodejs/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
set -e
usermod -u ${EXTERNAL_UID:-1000} penpot

View file

@ -0,0 +1,8 @@
Defaults env_reset
Defaults mail_badpass
#Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
root ALL=(ALL:ALL) ALL
penpot ALL=(ALL) NOPASSWD:ALL
%admin ALL=(ALL) ALL
%sudo ALL=(ALL:ALL) ALL