Skip to content

Commit

Permalink
slim down image size
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Enkelmann authored Jan 27, 2021
1 parent 44852e8 commit 7d43e15
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

0 comments on commit 7d43e15

Please sign in to comment.