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