frida-utils/apk-injector/Containerfile

11 lines
565 B
Docker

FROM fedora:40
RUN dnf install -y java-latest-openjdk-headless xz
RUN curl -o apktool.jar -L https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.9.3.jar
RUN curl -o apk-signer.jar -L https://github.com/patrickfav/uber-apk-signer/releases/download/v1.3.0/uber-apk-signer-1.3.0.jar
RUN curl -o libfrida-gadget.so.xz -L https://github.com/frida/frida/releases/download/16.5.1/frida-gadget-16.5.1-android-arm64.so.xz
RUN unxz libfrida-gadget.so.xz
COPY libfrida-gadget.config.so /
COPY inject-frida.sh /
COPY patch-main.py /
WORKDIR /tmp
CMD /inject-frida.sh