add libgcc hack to rust

This commit is contained in:
Lance R. Vick 2024-02-10 18:37:32 -08:00
parent fff10b2aa3
commit 6eb145ca0e
No known key found for this signature in database
GPG key ID: 8E47A1EC35A1551D

View file

@ -56,6 +56,8 @@ COPY --from=perl . /
COPY --from=gcc . /
COPY --from=libunwind . /
COPY --from=musl . /
# HACK: figure out why gcc package puts these in the wrong path at install time
COPY --from=gcc /usr/lib64/* /usr/lib/
ENV MRUSTC_TARGET_VER=1.54
ENV RUSTC_VERSION=1.54.0
ENV RUSTC_TARGET=x86_64-unknown-linux-musl
@ -121,6 +123,8 @@ COPY --from=gcc . /
COPY --from=libunwind . /
COPY --from=musl . /
COPY --from=rust . /
# HACK: figure out why gcc package puts these in the wrong path at install time
COPY --from=gcc /usr/lib64/* /usr/lib/
RUN --network=none <<-EOF
set -eux
./configure \