dockcross/common.manylinux
Matt McCormick 53cf0849fe
manylinux: Do not require a tty for sudo
This enabling installation of Python packages with on CI services.

Issue #57
2016-11-03 21:50:41 -04:00

13 lines
374 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