From 531f33aa56897e1eba584ee7c94d3dc79e346cde Mon Sep 17 00:00:00 2001 From: "Lance R. Vick" Date: Sat, 10 Feb 2024 03:28:57 -0800 Subject: [PATCH] add gcc path hack for ninja --- src/core/ninja/Containerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/core/ninja/Containerfile b/src/core/ninja/Containerfile index 97a376b..2d1234d 100644 --- a/src/core/ninja/Containerfile +++ b/src/core/ninja/Containerfile @@ -18,10 +18,13 @@ COPY --from=openssl . / RUN tar -xf ${SRC_FILE} WORKDIR ninja-${VERSION} ADD *.patch . +# 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 + cp -R /usr/lib64/* /usr/lib/ patch -p1 < fix-musl.patch - python3 ./configure.py --bootstrap + python ./configure.py --bootstrap EOF FROM build as install