From e1162606f5118c978e83557848d2cc28e74245e1 Mon Sep 17 00:00:00 2001 From: Jerry Ma Date: Thu, 13 Mar 2025 14:57:37 +0800 Subject: [PATCH] Update automake on gnu docker to fix attr build bug (#636) --- bin/build-static-frankenphp | 8 ++++++++ bin/spc-gnu-docker | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/bin/build-static-frankenphp b/bin/build-static-frankenphp index 1de01c39..805d51f8 100755 --- a/bin/build-static-frankenphp +++ b/bin/build-static-frankenphp @@ -104,6 +104,14 @@ RUN curl -o make.tgz -fsSL https://ftp.gnu.org/gnu/make/make-4.4.tar.gz && \ make install && \ ln -sf /usr/local/bin/make /usr/bin/make +RUN curl -o automake.tgz -fsSL https://ftp.gnu.org/gnu/automake/automake-1.17.tar.xz && \ + tar -xvf automake.tgz && \ + cd automake-1.17 && \ + ./configure && \ + make && \ + make install && \ + ln -sf /usr/local/bin/automake /usr/bin/automake + RUN git clone https://github.com/static-php/gnu-frankenphp --depth=1 /frankenphp WORKDIR /frankenphp diff --git a/bin/spc-gnu-docker b/bin/spc-gnu-docker index a3af1431..a8998ee8 100755 --- a/bin/spc-gnu-docker +++ b/bin/spc-gnu-docker @@ -100,6 +100,14 @@ RUN curl -o make.tgz -fsSL https://ftp.gnu.org/gnu/make/make-4.4.tar.gz && \ make install && \ ln -sf /usr/local/bin/make /usr/bin/make +RUN curl -o automake.tgz -fsSL https://ftp.gnu.org/gnu/automake/automake-1.17.tar.xz && \ + tar -xvf automake.tgz && \ + cd automake-1.17 && \ + ./configure && \ + make && \ + make install && \ + ln -sf /usr/local/bin/automake /usr/bin/automake + EOF fi