🐛 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/bashrc /root/.bashrc
COPY files/vimrc /root/.vimrc COPY files/vimrc /root/.vimrc
COPY files/tmux.conf /root/.tmux.conf COPY files/tmux.conf /root/.tmux.conf
COPY files/sudoers /etc/sudoers
COPY files/start-tmux.sh /home/start-tmux.sh COPY files/start-tmux.sh /home/start-tmux.sh
COPY files/entrypoint.sh /home/entrypoint.sh COPY files/entrypoint.sh /home/entrypoint.sh

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env bash #!/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 set -e
usermod -u ${EXTERNAL_UID:-1000} penpot 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