.
├── input
│ ├── AndroidManifest.xml
│ ├── apktool.yml
│ ├── build
│ ├── original
│ ├── res
│ ├── smali
│ └── unknown
├── output
│ ├── output-signed.apk
│ ├── output-signed.apk.idsig
│ └── output-unsigned.apk
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_repackager:<TAG-NAME>
<PATH-TO-INPUT>: Directory path where the depackaged apk files are located in the host environment<PATH-TO-OUTPUT>: Path to which the signed and repackaged apk file is stored<TAG-NAME>: Image tag name.docker run --rm -v "<PATH-TO-INPUT>:/input" -v "<PATH-TO-OUTPUT>:/output" louie8821/apk_repackager:<TAG-NAME>
Content type
Image
Digest
sha256:00e96ca29…
Size
444.6 MB
Last updated
about 1 year ago
docker pull louie8821/apk_repackager:test