From 068061a30a20fddb9ff64745ea80e626827582d9 Mon Sep 17 00:00:00 2001 From: Jason Kendall Date: Mon, 25 Nov 2019 19:14:49 -0500 Subject: [PATCH] Reduce some size --- server/Dockerfile | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/server/Dockerfile b/server/Dockerfile index 9f03c84..50a68a8 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -37,9 +37,8 @@ ARG VERSION=2.4.118 WORKDIR /var/www RUN git clone --branch v${MISP_TAG} --depth 1 https://github.com/MISP/MISP.git /var/www/MISP WORKDIR /var/www/MISP - RUN chown www-data:www-data /var/www/MISP; \ # Make git ignore filesystem permission differences - git config core.filemode false; \ + RUN git config core.filemode false; \ # CakePHP and a lot of other things is included as a submodule of MISP, execute the following commands to let git fetch it: git submodule update --init --recursive; \ # Make git ignore filesystem permission differences for submodules @@ -90,14 +89,6 @@ ARG VERSION=2.4.118 # To use the scheduler worker for scheduled tasks, do the following: ;cp -fa /var/www/MISP/INSTALL/setup/config.php /var/www/MISP/app/Plugin/CakeResque/Config/config.php -# Set the permissions - # Check if the permissions are set correctly using the following commands: - RUN chown -R www-data:www-data /var/www/MISP \ - ;chmod -R 750 /var/www/MISP \ - ;chmod -R g+ws /var/www/MISP/app/tmp \ - ;chmod -R g+ws /var/www/MISP/app/files \ - ;chmod -R g+ws /var/www/MISP/app/files/scripts/tmp - # Configure Apache # add HTTP MISP Config RUN rm /etc/apache2/sites-enabled/*;