From 81f77d12a15efb499032436afe024f14fce86709 Mon Sep 17 00:00:00 2001 From: olekristoffer Date: Tue, 13 Aug 2024 13:26:40 +0200 Subject: [PATCH] Balance quotes as requred by podman 4.9.4 Podman 4.9.4 requires all quotes to be balanced when processing heredoc build statements, including in comments. Without the change building the container yields the following ERROR: "unexpected end of statement while looking for matching single-quote" --- core/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Dockerfile b/core/Dockerfile index c5cb1d4..ac9f5e4 100644 --- a/core/Dockerfile +++ b/core/Dockerfile @@ -156,7 +156,7 @@ EOF find /var/www/MISP/INSTALL/* ! -name 'MYSQL.sql' -type l -exec rm {} + # Remove most files in .git - we do not use git functionality in docker find /var/www/MISP/.git/* ! -name HEAD -exec rm -rf {} + - # Remove libraries' submodules + # Remove libraries submodules rm -r /var/www/MISP/PyMISP rm -r /var/www/MISP/app/files/scripts/cti-python-stix2 rm -r /var/www/MISP/app/files/scripts/misp-stix