From 6b742a21321b299cd278b192c5b9955c76a1806a Mon Sep 17 00:00:00 2001 From: Adam Radocz Date: Thu, 5 Mar 2020 08:52:58 +0100 Subject: [PATCH] Cleanup Remove curl and gnupg after Rocm is installed to make the image smaller --- dev/Dockerfile-ubuntu-18.04 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev/Dockerfile-ubuntu-18.04 b/dev/Dockerfile-ubuntu-18.04 index 843f196..bf70c90 100644 --- a/dev/Dockerfile-ubuntu-18.04 +++ b/dev/Dockerfile-ubuntu-18.04 @@ -13,5 +13,8 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins libelf1 \ rocm-dev \ build-essential && \ +# Cleaning up + apt-get remove -y curl gnupg && \ + apt-get autoremove -y && \ apt-get clean && \ rm -rf /var/lib/apt/lists/*