dockcross/common.manylinux
Matt McCormick f3654d8dce
manylinux: Run visudo -c
Verify /etc/sudoers validity

Tested-by: Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
2016-11-03 21:50:42 -04:00

14 lines
391 B
Plaintext

RUN cd /opt && \
wget "http://smarden.org/runit/runit-2.1.2.tar.gz" && \
tar xvzf runit-2.1.2.tar.gz && \
cd admin/runit-2.1.2 && \
./package/install
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 && \
visudo -c