From d3ef1564d2f127922889e3c61f0bcc36b6e1da6d Mon Sep 17 00:00:00 2001 From: Eduardo Balsa Date: Wed, 14 Apr 2021 14:04:17 +0200 Subject: [PATCH] Added support for rdkafka --- server/Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/server/Dockerfile b/server/Dockerfile index 845f417..b696c90 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -137,12 +137,11 @@ ARG PHP_VER COPY --from=composer-build /tmp/Vendor /var/www/MISP/app/Vendor COPY --from=composer-build /tmp/Plugin /var/www/MISP/app/Plugin - RUN for dir in /etc/php/*; do echo "extension=rdkafka.so" > "$dir/mods-available/rdkafka.ini"; done\ - phpenmod rdkafka + RUN for dir in /etc/php/*; do echo "extension=rdkafka.so" > "$dir/mods-available/rdkafka.ini"; done; phpenmod rdkafka + RUN for dir in /etc/php/*; do echo "extension=ssdeep.so" > "$dir/mods-available/ssdeep.ini"; done \ - RUN for dir in /etc/php/*; do echo "extension=rdkafka.so" > "$dir/mods-available/rdkafka.ini"; done - ;phpenmod redis \ + ;phpenmod redis \ # Enable CakeResque with php-gnupgp ;phpenmod gnupg \ # Enable ssdeep we build earlier