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