From 0c006516f24fafe8d44571ea47d5023398a92ba8 Mon Sep 17 00:00:00 2001
From: Marica Antonacci <marica.antonacci@ba.infn.it>
Date: Thu, 13 Oct 2022 15:56:14 +0200
Subject: [PATCH] Improve dockerfile

---
 utils/Dockerfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/utils/Dockerfile b/utils/Dockerfile
index f532a2a..78cd7e2 100644
--- a/utils/Dockerfile
+++ b/utils/Dockerfile
@@ -3,9 +3,10 @@ FROM jenkins/ssh-agent:4.1.0
 ARG ORCHENT_VERSION=1.2.9
 
 RUN DEBIAN_FRONTEND=noninteractive apt-get update \
-    && apt-get install -y wget git ansible python3-pip \
+    && apt-get install -y --no-install-recommends wget git ansible python3-pip \
     && wget https://github.com/indigo-dc/orchent/releases/download/v${ORCHENT_VERSION}/orchent_${ORCHENT_VERSION}_amd64.deb \
     && dpkg -i orchent_${ORCHENT_VERSION}_amd64.deb \
+    && rm orchent_${ORCHENT_VERSION}_amd64.deb \
     && apt-get clean && rm -rf /var/lib/apt/lists/*
 
 RUN pip install gvm-tools jq yq
\ No newline at end of file
-- 
GitLab