]> git.proxmox.com Git - rustc.git/blobdiff - src/ci/docker/host-x86_64/dist-x86_64-musl/Dockerfile
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / src / ci / docker / host-x86_64 / dist-x86_64-musl / Dockerfile
index 904ee64db3b7e7b277952d1a3ec0c1841b9e3725..08f07eb8284062f6a4d1548ac852642c197d6a94 100644 (file)
@@ -20,6 +20,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
 
 WORKDIR /build/
 
+# Build cmake before musl toolchain, as we replace the compiler during that step.
+COPY scripts/cmake.sh /scripts/
+RUN /scripts/cmake.sh
+
 COPY scripts/musl-toolchain.sh /build/
 # We need to mitigate rust-lang/rust#34978 when compiling musl itself as well
 RUN CFLAGS="-Wa,-mrelax-relocations=no -Wa,--compress-debug-sections=none -Wl,--compress-debug-sections=none" \