-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from vobst/update_to_11.2
Update to Ghidra 11.2
- Loading branch information
Showing
1 changed file
with
10 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
FROM openjdk:jdk-slim | ||
FROM amazoncorretto:21.0.5-alpine3.20 | ||
|
||
ENV GHIDRA_RELEASE_TAG Ghidra_11.0.3_build | ||
ENV GHIDRA_VERSION ghidra_11.0.3_PUBLIC_20240410 | ||
ENV GHIDRA_RELEASE_TAG Ghidra_11.2_build | ||
ENV GHIDRA_VERSION_NAME ghidra_11.2_PUBLIC | ||
ENV GHIDRA_VERSION_DATE 20240926 | ||
ENV GHIDRA_VERSION ${GHIDRA_VERSION_NAME}_${GHIDRA_VERSION_DATE} | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends wget unzip fontconfig && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
RUN apk add --no-cache unzip curl | ||
|
||
RUN wget https://github.com/NationalSecurityAgency/ghidra/releases/download/${GHIDRA_RELEASE_TAG}/${GHIDRA_VERSION}.zip && \ | ||
unzip -d ghidra ${GHIDRA_VERSION}.zip && \ | ||
rm ${GHIDRA_VERSION}.zip && \ | ||
mv ghidra/ghidra_* /opt/ghidra | ||
RUN curl --proto '=https' --tlsv1.2 -LO https://github.com/NationalSecurityAgency/ghidra/releases/download/${GHIDRA_RELEASE_TAG}/${GHIDRA_VERSION}.zip \ | ||
&& unzip -d ghidra ${GHIDRA_VERSION}.zip > /dev/null \ | ||
&& rm ${GHIDRA_VERSION}.zip \ | ||
&& mv ghidra/ghidra_* /opt/ghidra | ||
|
||
ENV PATH="/opt/ghidra:/opt/ghidra/support:${PATH}" |