mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
🐛 Fix build commands on devenv.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
8
docker/devenv/files/sudoers
Normal file
8
docker/devenv/files/sudoers
Normal 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
|
||||||
Reference in New Issue
Block a user