We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c0e96e commit b09fd1eCopy full SHA for b09fd1e
Dockerfile
@@ -31,3 +31,8 @@ RUN apt-get -y update
31
RUN apt-get -y install python
32
# Install aptitude, since ansible needs it (only apt-get is installed)
33
RUN apt-get -y install aptitude
34
+
35
+# Enable password-less sudo for all user (including the 'vagrant' user)
36
+RUN chmod u+w ${SUDOFILE}
37
+RUN echo '%sudo ALL=(ALL:ALL) NOPASSWD: ALL' >> ${SUDOFILE}
38
+RUN chmod u-w ${SUDOFILE}
0 commit comments