generated from clearbluejar/ghidra-python-vscode-devcontainer-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d9981cd
commit a99fabd
Showing
1 changed file
with
19 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# From https://github.com/clearbluejar/ghidra-python | ||
FROM ghcr.io/clearbluejar/ghidra-python:latest | ||
|
||
ENV GHIDRA_INSTALL_DIR=/ghidra | ||
|
||
USER vscode | ||
WORKDIR /home/vscode/ | ||
|
||
# install latest from pip | ||
RUN pip install ghidrecomp | ||
|
||
RUN python -m pyhidra.install_plugins | ||
|
||
# point absolute ghidriffs dir to user | ||
# this supports absoulte mapping "docker run --rm -it -v ${PWD}/ghidriffs:/ghidriffs ghidriff /bin/cat1 /bin/cat2" | ||
RUN ln -s /ghidrecomps /home/vscode/ | ||
|
||
ENTRYPOINT ["/home/vscode/.local/bin/ghidrecomp"] | ||
|