-
Notifications
You must be signed in to change notification settings - Fork 1
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
13 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
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,5 +1,13 @@ | ||
FROM quay.io/pypa/manylinux2010_x86_64 | ||
|
||
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal --default-toolchain stable | ||
# We need a more recent audiwheel | ||
RUN /opt/_internal/pipx/venvs/auditwheel/bin/python -m pip install --upgrade auditwheel | ||
|
||
# Manually download rustup-init version 1.25.1, since 1.25.2 requires a more | ||
# modern glibc. We can remove this if https://github.com/rust-lang/rustup/issues/3203 | ||
# is solved by making rustup-init.sh able to detect the glibc version. | ||
RUN curl -O https://static.rust-lang.org/rustup/archive/1.25.1/x86_64-unknown-linux-gnu/rustup-init && \ | ||
chmod +x ./rustup-init && \ | ||
./rustup-init -y --profile minimal --default-toolchain 1.63 | ||
|
||
ENV PATH="/root/.cargo/bin:${PATH}" |