From 80f9c19469146d6b8dd87338d288a4f804020ff7 Mon Sep 17 00:00:00 2001 From: Stephanos Ioannidis Date: Tue, 22 Oct 2024 16:59:10 +0900 Subject: [PATCH] Dockerfile: Clean up CMake setup file Delete CMake setup SFX after running it. Signed-off-by: Stephanos Ioannidis --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c574968..85924fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,7 +47,8 @@ RUN apt-get install -y --no-install-recommends makeself p7zip-full tree curl # Install CMake RUN wget https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-${HOSTTYPE}.sh && \ chmod +x cmake-${CMAKE_VERSION}-linux-${HOSTTYPE}.sh && \ - ./cmake-${CMAKE_VERSION}-linux-${HOSTTYPE}.sh --skip-license --prefix=/usr/local + ./cmake-${CMAKE_VERSION}-linux-${HOSTTYPE}.sh --skip-license --prefix=/usr/local && \ + rm cmake-${CMAKE_VERSION}-linux-${HOSTTYPE}.sh # Install python packages to allow upload to aws S3 RUN pip3 install awscli