From 7d43e15907713864d0ffad836f61d0ea1186ce4b Mon Sep 17 00:00:00 2001 From: Enkelmann <46347022+Enkelmann@users.noreply.github.com> Date: Wed, 27 Jan 2021 13:22:11 +0100 Subject: [PATCH] slim down image size The image contained 2 copies of Ghidra, one of which only existed in the image history. This change prevents that and thus should slim down the image size by about 900MB. --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5578f23..3f6d4df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,8 +10,7 @@ RUN apt-get update && \ RUN wget https://ghidra-sre.org/${GHIDRA_VERSION}.zip && \ unzip -d ghidra ${GHIDRA_VERSION}.zip && \ - rm ${GHIDRA_VERSION}.zip - -RUN mv ghidra/ghidra_* /opt/ghidra + rm ${GHIDRA_VERSION}.zip && \ + mv ghidra/ghidra_* /opt/ghidra ENV PATH="/opt/ghidra:/opt/ghidra/support:${PATH}"