examples/namespace_package/Dockerfile
raw| 1 | FROM quay.io/pypa/manylinux2014_aarch64 AS manylinux |
| 2 | |
| 3 | FROM ghcr.io/cross-rs/aarch64-unknown-linux-gnu:edge |
| 4 | |
| 5 | # PyO3 needs a host Python interpreter to parse the sysconfigdata of the |
| 6 | # cross-compile interpreter found in /opt/python |
| 7 | RUN apt-get update && apt-get --assume-yes install python3 |
| 8 | |
| 9 | ENV PATH=/usr/local/python/bin:$PATH |
| 10 | |
| 11 | COPY --from=manylinux /opt/_internal /opt/_internal |
| 12 | COPY --from=manylinux /opt/python /opt/python |