diff --git a/nodered/Dockerfile b/nodered/Dockerfile index d7a2458..faada20 100644 --- a/nodered/Dockerfile +++ b/nodered/Dockerfile @@ -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 && \