mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-10 05:07:26 +01:00
manylinux: Run visudo -c
Verify /etc/sudoers validity Tested-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
This commit is contained in:
parent
53cf0849fe
commit
f3654d8dce
@ -8,5 +8,6 @@ COPY manylinux-common/install-python-packages.sh /usr/local/bin
|
||||
RUN /usr/local/bin/install-python-packages.sh
|
||||
|
||||
RUN yum -y install sudo && \
|
||||
sed -i 's/Defaults requiretty/#Defaults requiretty/' /etc/sudoers
|
||||
sed -i 's/Defaults requiretty/#Defaults requiretty/' /etc/sudoers && \
|
||||
visudo -c
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user