mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-23 09:04:27 +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 /usr/local/bin/install-python-packages.sh
|
||||||
|
|
||||||
RUN yum -y install sudo && \
|
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