From 1c80986c66d586be84bd0f83dbc16d0f9cad183f Mon Sep 17 00:00:00 2001 From: Jason Kendall Date: Wed, 19 Feb 2020 09:26:42 -0500 Subject: [PATCH] Add ssdeep extension ini files --- server/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/Dockerfile b/server/Dockerfile index d40bc6b..65111bc 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -107,7 +107,8 @@ ARG PHP_VER COPY --from=php-build /usr/lib/php/${PHP_VER}/ssdeep.so /usr/lib/php/${PHP_VER}/ssdeep.so COPY --from=composer-build /tmp/Vendor /var/www/MISP/app/Vendor COPY --from=composer-build /tmp/Plugin /var/www/MISP/app/Plugin - RUN phpenmod redis \ + RUN for dir in /etc/php/*; do echo "extension=ssdeep.so" > $dir/mods-available/ssdeep.ini; done \ + ;phpenmod redis \ # Enable CakeResque with php-gnupgp ;phpenmod gnupg \ # Enable ssdeep we build earlier