manylinux: Do not require a tty for sudo

This enabling installation of Python packages with on CI services.

Issue #57
This commit is contained in:
Matt McCormick 2016-11-03 14:12:12 -04:00 committed by Jean-Christophe Fillion-Robin
parent 26c5447d29
commit 53cf0849fe
No known key found for this signature in database
GPG Key ID: 15C1A2812F958BD3

View File

@ -7,4 +7,6 @@ RUN cd /opt && \
COPY manylinux-common/install-python-packages.sh /usr/local/bin 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