Update Dockerfile
This commit is contained in:
@ -61,7 +61,7 @@ RUN addgroup node-red sudo
|
||||
RUN cat /dev/null > /etc/sudoers \
|
||||
&& echo -e "Set disable_coredump false\n" > /etc/sudo.conf \
|
||||
&& touch /etc/sudoers \
|
||||
&& echo -e "\nnode-red ALL=(ALL) NOPASSWD: ALL\n%sudo ALL=(ALL) NOPASSWD: ALL\n" > /etc/sudoers \
|
||||
&& echo "node-red ALL=(ALL) NOPASSWD: ALL\n%sudo ALL=(ALL) NOPASSWD: ALL\n" > /etc/sudoers \
|
||||
&& chmod 0440 /etc/sudoers
|
||||
|
||||
RUN apt-get clean autoclean && \
|
||||
|
||||
Reference in New Issue
Block a user