apk files..
├── input
│ └── test.txt
└── output
├── AndroidManifest.xml
├── apktool.yml
├── original
├── res
├── smali
└── unknown
test : not stable but you can use itFROM openjdk:21-jdk-slim
# install wget
RUN apt-get update && apt-get install -y wget
# install apktool
RUN wget https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.11.1.jar -O /usr/local/bin/apktool.jar && \
wget https://raw.githubusercontent.com/iBotPeaches/Apktool/master/scripts/linux/apktool -O /usr/local/bin/apktool && \
chmod +x /usr/local/bin/apktool
RUN mkdir /input /output
# use entrypoint properly
ENTRYPOINT sh -c "ls -la /input && apktool -f d /input/*.apk -o /output"
<TAG-NAME>: Image tag name.docker pull louie8821/apk_decompiler:<TAG-NAME>
<PATH-TO-INPUT>: Directory path where the apk file is located in the host environment<PATH-TO-OUTPUT>: Path to which the depackaged apk file is stored<TAG-NAME>: Image tag name.docker run --rm -v "<PATH-TO-INPUT>:/input" -v "<PATH-TO-OUTPUT>:/output" louie8821/apk_decompiler:<TAG-NAME>
Content type
Image
Digest
sha256:f14734468…
Size
264.7 MB
Last updated
over 1 year ago
docker pull louie8821/apk_decompiler:test