From 9b305a21e5b64d3dd5726b956a783c74c899ca3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hajdu=20=C3=81kos?= Date: Wed, 12 Aug 2020 13:28:53 +0200 Subject: [PATCH] Delete apt-get lists after install --- docker/theta-cfa-cli.Dockerfile | 3 ++- docker/theta-sts-cli.Dockerfile | 3 ++- docker/theta-xta-cli.Dockerfile | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docker/theta-cfa-cli.Dockerfile b/docker/theta-cfa-cli.Dockerfile index 908b1fe926..3a26969366 100644 --- a/docker/theta-cfa-cli.Dockerfile +++ b/docker/theta-cfa-cli.Dockerfile @@ -1,7 +1,8 @@ FROM openjdk:11.0.6-slim RUN apt-get update && \ - apt-get install -y --no-install-recommends libgomp1 + apt-get install -y --no-install-recommends libgomp1 && \ + apt-get clean && rm -rf /var/lib/apt/lists/* RUN mkdir theta COPY . theta diff --git a/docker/theta-sts-cli.Dockerfile b/docker/theta-sts-cli.Dockerfile index aa026b7963..fda2ec06d2 100644 --- a/docker/theta-sts-cli.Dockerfile +++ b/docker/theta-sts-cli.Dockerfile @@ -1,7 +1,8 @@ FROM openjdk:11.0.6-slim RUN apt-get update && \ - apt-get install -y --no-install-recommends libgomp1 + apt-get install -y --no-install-recommends libgomp1 && \ + apt-get clean && rm -rf /var/lib/apt/lists/* RUN mkdir theta COPY . theta diff --git a/docker/theta-xta-cli.Dockerfile b/docker/theta-xta-cli.Dockerfile index 7e6c55cb83..3815ce966b 100644 --- a/docker/theta-xta-cli.Dockerfile +++ b/docker/theta-xta-cli.Dockerfile @@ -1,7 +1,8 @@ FROM openjdk:11.0.6-slim RUN apt-get update && \ - apt-get install -y --no-install-recommends libgomp1 + apt-get install -y --no-install-recommends libgomp1 && \ + apt-get clean && rm -rf /var/lib/apt/lists/* RUN mkdir theta COPY . theta