From 649e8b5d26410dc4ee5c78e835a9b422e461dd69 Mon Sep 17 00:00:00 2001 From: Tommaso Fontana Date: Mon, 5 Aug 2024 17:26:50 +0200 Subject: [PATCH] added aarch64 linux docker --- setup/DockerFileManylinux2014Aarch64 | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 setup/DockerFileManylinux2014Aarch64 diff --git a/setup/DockerFileManylinux2014Aarch64 b/setup/DockerFileManylinux2014Aarch64 new file mode 100644 index 000000000000..ea61329e44b4 --- /dev/null +++ b/setup/DockerFileManylinux2014Aarch64 @@ -0,0 +1,22 @@ +FROM quay.io/pypa/manylinux2014_aarch64 + +# Otherwise `cargo new` errors +RUN yum install -y openssl-devel clang curl + +RUN curl https://sh.rustup.rs -sSf | bash -s -- -y + +RUN echo '. "$HOME/.cargo/env"' >> $HOME/.bashrc + +# Install the required rust version +RUN . "$HOME/.cargo/env" && rustup default nightly + +# Add all supported python versions +ENV PATH /opt/python/cp37-cp37m/bin/:$PATH + +RUN python -m pip install --no-cache-dir cffi +RUN pip install twine "maturin[zig]" + +RUN mkdir /io +WORKDIR /io + +ENV LD_LIBRARY_PATH="/opt/_internal/openssl-3.0/" \ No newline at end of file