File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ FROM quay.io/pypa/manylinux_2_24_x86_64
2+
3+ RUN apt-get update && \
4+ apt-get install -y libssl-dev; \
5+ mkdir -p /code
6+
7+ WORKDIR /code
8+
9+ CMD /code/scripts/incontainer-build.sh
10+
11+
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e
4+
5+ git submodule update --init
6+
7+ docker build -f scripts/Dockerfile.build -t aerospike-wheel-builder:latest .
8+
9+ docker run -it -v $( pwd) :/code aerospike-wheel-builder:latest /code/scripts/manylinuxbuild.sh
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ set -e
4+
35# Compile wheels
46for PYBIN in /opt/python/* /bin; do
5- " ${PYBIN} /pip" wheel ./ -w /work/tempwheels
7+ " ${PYBIN} /pip" wheel ./ -w /code/ work/tempwheels
68done
79
810# Bundle external shared libraries into the wheels
9- for whl in /work/tempwheels/* .whl; do
10- auditwheel repair " $whl " --plat manylinux2010_x86_64 -w /work/wheels/
11+ for whl in /code/ work/tempwheels/* .whl; do
12+ auditwheel repair " $whl " --plat manylinux_2_24_x86_64 -w /code /work/wheels/
1113done
1214
1315for PYBIN in /opt/python/* /bin/; do
14- ${PYBIN} /pip install aerospike -f /work/wheels/
16+ ${PYBIN} /pip install aerospike -f /code/ work/wheels/ --no-index
1517 ${PYBIN} /python -c " import aerospike; print('Installed aerospike version{}'.format(aerospike.__version__))"
1618done
You can’t perform that action at this time.
0 commit comments