Sign inSign up

louie8821/apk_repackager

By louie8821

•Updated about 1 year ago

apk repackage and signer

Image
0

128

louie8821/apk_repackager repository overview

⁠APK Repackager for Kakao Theme


⁠Supported File Formats

⁠Support for depackaged apk files.

⁠Conversion Result

⁠This docker image repackages the depackaged apk and then applies v2 and v3 signs
⁠When the docker container is executed, the input path and output path are taken as factors and the output path is provided with repackaged and signed apk files
.
├── input
│   ├── AndroidManifest.xml
│   ├── apktool.yml
│   ├── build
│   ├── original
│   ├── res
│   ├── smali
│   └── unknown
├── output
│   ├── output-signed.apk
│   ├── output-signed.apk.idsig
│   └── output-unsigned.apk


⁠Tags

⁠test : not stable but you can use it

⁠Dockerfile

⁠This docker image operates internally based on the following docker files
FROM 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"


⁠How to Use

⁠1. Pull the Docker Image
⁠<TAG-NAME>: Image tag name.
docker pull louie8821/apk_repackager:<TAG-NAME>
⁠2. Run as a Docker Container
⁠<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>

Tag summary

Content type

Image

Digest

sha256:00e96ca29…

Size

444.6 MB

Last updated

about 1 year ago

docker pull louie8821/apk_repackager:test