Update Dockerfile

This commit is contained in:
Joshua Schnabel
2020-04-29 00:33:00 +02:00
committed by GitHub
parent 7c9cbd6f8b
commit ae363d6fad

View File

@ -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 && \