fix: rust install path

This commit is contained in:
Lance R. Vick 2024-02-13 08:50:05 -08:00
parent 8d4ed474a8
commit 84e0616de7
No known key found for this signature in database
GPG key ID: 8E47A1EC35A1551D

View file

@ -1,5 +1,5 @@
FROM scratch as base
ARG VERSION=1.74.0
ARG VERSION=1.76.0
ENV SRC_SITE=https://static.rust-lang.org/dist
ENV MRUSTC_VERSION=16d744fd62e74a2d4356df864b5850bf782918da
ENV MRUSTC_SRC_HASH=88d5d022875d279a75fa1e9c95d0de779cb3ad3bb587f2edeb85e6f59e99d528
@ -189,7 +189,7 @@ RUN sh build.sh 1.76.0 1.75.0
FROM build as install
RUN <<-EOF
mv build-${VERSION} /rootfs
mv /rust-${VERSION} /rootfs
cd /rootfs/usr/lib/rustlib
rm install.log
sort -o manifest-cargo manifest-cargo