Replace arch-specific copy of libfuzzy with gcc -dumpmachine to facilitate builds on other arches

pull/1/head
Aaron K. Reffett 2022-03-25 11:28:27 -04:00
parent 7dea3f87aa
commit 4c451e4c31
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ FROM debian:bullseye-slim as php-build
&& apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* && apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/*
RUN pecl channel-update pecl.php.net RUN pecl channel-update pecl.php.net
RUN cp /usr/lib/x86_64-linux-gnu/libfuzzy.* /usr/lib; pecl install ssdeep && pecl install rdkafka RUN cp "/usr/lib/$(gcc -dumpmachine)"/libfuzzy.* /usr/lib; pecl install ssdeep && pecl install rdkafka
RUN git clone --recursive --depth=1 https://github.com/kjdev/php-ext-brotli.git && cd php-ext-brotli && phpize && ./configure && make && make install RUN git clone --recursive --depth=1 https://github.com/kjdev/php-ext-brotli.git && cd php-ext-brotli && phpize && ./configure && make && make install