rust: add Rust 1.75.0 #4
|
@ -116,7 +116,7 @@ RUN tar -xzf rustc-${VERSION}-src.tar.gz
|
|||
WORKDIR rustc-${VERSION}-src
|
||||
COPY --from=rust . /
|
||||
# Required by Rust >= 1.75.0
|
||||
RUN mkdir -p /home/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/
|
||||
RUN mkdir -p $HOME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/
|
||||
RUN set -eux; \
|
||||
./configure \
|
||||
--build="x86_64-unknown-linux-musl" \
|
||||
|
@ -158,6 +158,8 @@ RUN set -eux; \
|
|||
|
||||
FROM build as install
|
||||
USER 0:0
|
||||
# Required by Rust >= 1.75.0
|
||||
RUN mkdir -p /.cargo/registry/src/index.crates.io-6f17d22bba15001f/
|
||||
RUN set -eux; \
|
||||
python3 x.py install; \
|
||||
cd /rootfs/usr/lib/rustlib; \
|
||||
|
|
Reference in New Issue