From 6eb145ca0ec2868c63ed5ec6258e1218d444fb49 Mon Sep 17 00:00:00 2001 From: "Lance R. Vick" Date: Sat, 10 Feb 2024 18:37:32 -0800 Subject: [PATCH] add libgcc hack to rust --- src/core/rust/Containerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/rust/Containerfile b/src/core/rust/Containerfile index bd0df8d..e2df6ae 100644 --- a/src/core/rust/Containerfile +++ b/src/core/rust/Containerfile @@ -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 \