-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
FROM quay.io/pypa/manylinux2010_x86_64 | ||
COPY . /src/pike | ||
RUN yum install -y krb5-devel krb5-workstation python27 && \ | ||
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* && \ | ||
sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* && \ | ||
yum install -y krb5-devel krb5-workstation python27 && \ | ||
source /opt/rh/python27/enable && \ | ||
python2.7 -m pip install -U 'pip<21' && \ | ||
python2.7 -m pip install build | ||
|
||
export PATH=$PATH:/opt/rh/python27/root/usr/bin && \ | ||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rh/python27/root/usr/lib64 && \ | ||
echo /opt/rh/python27/root/usr/lib64 >> /etc/ld.so.conf && \ | ||
ldconfig && \ | ||
/opt/rh/python27/root/usr/bin/python2.7 -m pip install --trusted-host pypi.python.org -U 'pip<21' && \ | ||
/opt/rh/python27/root/usr/bin/python2.7 -m pip install --trusted-host pypi.python.org build | ||
CMD /src/pike/buildwheel/wheel27.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters