Update Dockerfile

This commit is contained in:
Joshua Schnabel authored and GitHub committed 2020-04-29 00:38:38 +02:00
1 parent 398170b69b
commit 009eb35a66
1 file changed
+1 -1
+1 -1
View File
@@ -61,7 +61,7 @@ RUN addgroup node-red sudo
RUN cat /dev/null > /etc/sudoers \ RUN cat /dev/null > /etc/sudoers \
&& echo -e "Set disable_coredump false\n" > /etc/sudo.conf \ && echo -e "Set disable_coredump false\n" > /etc/sudo.conf \
&& touch /etc/sudoers \ && 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 && chmod 0440 /etc/sudoers
RUN apt-get clean autoclean && \ RUN apt-get clean autoclean && \