mirror of https://github.com/MISP/misp-docker
Replace arch-specific copy of libfuzzy with gcc -dumpmachine to facilitate builds on other arches
parent
7dea3f87aa
commit
4c451e4c31
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue