add gcc path hack for ninja
This commit is contained in:
parent
e356072666
commit
531f33aa56
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue