Skip to content

Commit

Permalink
added aarch64 linux docker
Browse files Browse the repository at this point in the history
  • Loading branch information
zommiommy committed Aug 5, 2024
1 parent c5780b4 commit 649e8b5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions setup/DockerFileManylinux2014Aarch64
Original file line number Diff line number Diff line change
@@ -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/"

0 comments on commit 649e8b5

Please sign in to comment.