From 402d3a548e5c9bb44f9d32d7d2b32626fbdbc8ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20Guimar=C3=A3es?= Date: Fri, 28 Jul 2023 14:10:47 +0100 Subject: [PATCH] Remove python from docker image --- roda-ui/roda-wui/docker-files/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roda-ui/roda-wui/docker-files/Dockerfile b/roda-ui/roda-wui/docker-files/Dockerfile index 74666c1a4c..78149d9ffc 100644 --- a/roda-ui/roda-wui/docker-files/Dockerfile +++ b/roda-ui/roda-wui/docker-files/Dockerfile @@ -8,6 +8,11 @@ RUN set -ex; \ apt-get -qq -y --no-install-recommends install clamdscan zip rsync jq && \ apt-get clean && rm -rf /var/lib/apt/lists/* +# Remove python dependency +RUN \ + DEBIAN_FRONTEND=noninteractive \ + apt-get autoremove -y --purge *python* + COPY clamd.conf /etc/clamav/clamd.conf # setup remove old ROOT folder from tomcat