From e1eb6be73f42487a28f2fd95819185ad911ea299 Mon Sep 17 00:00:00 2001 From: Jason Kendall Date: Wed, 11 Dec 2019 09:47:04 -0500 Subject: [PATCH] Comments and remove layers we don't need --- server/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/Dockerfile b/server/Dockerfile index bed3748..ea9dc84 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -98,10 +98,10 @@ ARG PHP_VER # MISP code # Download MISP using git in the /var/www/ directory. RUN git clone --branch v${MISP_TAG} --depth 1 https://github.com/MISP/MISP.git /var/www/MISP; \ + # We build the MISP modules outside, so we don't need to grab those submodules cd /var/www/MISP/app; git submodule update --init --recursive .; # Python Modules - RUN mkdir /wheels COPY --from=python-build /wheels /wheels RUN pip3 install --no-cache-dir /wheels/*.whl plyara pyzmq redis python-magic lief && rm -rf /wheels