1 2 3 4 5
#!/bin/bash FROM ubuntu:16.04 RUN echo "ALL ALL=NOPASSWD: ALL" > /etc/sudoers.d/open-sudo RUN chmod 0440 /etc/sudoers.d/open-sudo