Include the repo inside the dockerfile

Signed-off-by: Dimitris Zervas <dzervas@dzervas.gr>
This commit is contained in:
Dimitris Zervas 2024-07-28 21:49:50 +03:00
parent 792c3feed2
commit 503628b165
No known key found for this signature in database
3 changed files with 12 additions and 1 deletions

8
.dockerignore Normal file
View File

@ -0,0 +1,8 @@
/tests
target
.git
.vscode
.github
*.nix
/renovate.json
__handlers__

View File

@ -19,6 +19,7 @@ ENV ANDROID_NDK_ROOT="${ANDROID_NDK_HOME}"
ARG NDK_ARCH=armeabi-v7a
COPY . /injectionforge
WORKDIR /injectionforge
# Run with: docker run -it --name iforge -v $(pwd):/injectionforge injectionforge:latest

View File

@ -3,7 +3,9 @@
FROM injectionforge-android
# Frida dependencies to optionally compile frida
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential git lib32stdc++-9-dev libc6-dev-i386 nodejs npm
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y build-essential git lib32stdc++-9-dev libc6-dev-i386 nodejs npm python3-pip && \
pip install --break-system-packages lief
# Compile frida-core devkit
ARG FRIDA_HOST=android-arm