Public repository for ragedunicorn docker apktool images
1.1K

A lightweight Apktool installation on Alpine Linux with an Eclipse Temurin 21 JRE, for decoding and rebuilding Android APKs.
# Pull latest version
docker pull ragedunicorn/apktool:latest
# Or pull specific version (see the Tags tab for the available versions)
docker pull ragedunicorn/apktool:<apktool-version>-alpine<alpine-version>-<build>
# Decode an APK
docker run -v $(pwd):/workspace ragedunicorn/apktool:latest d app.apk -o app
On Windows, use the PowerShell form - ${PWD} with braces and the colon
inside the quotes (without braces PowerShell parses $PWD: as a
scope-qualified variable, as in $env:PATH, and rejects the argument):
# Decode an APK
docker run -v "${PWD}:/workspace" ragedunicorn/apktool:latest d app.apk -o app
apktool user by defaultdocker run -v $(pwd):/workspace ragedunicorn/apktool:latest \
d app.apk -o app
PowerShell:
docker run -v "${PWD}:/workspace" ragedunicorn/apktool:latest d app.apk -o app
docker run -v $(pwd):/workspace ragedunicorn/apktool:latest \
d -s app.apk -o app
PowerShell:
docker run -v "${PWD}:/workspace" ragedunicorn/apktool:latest d -s app.apk -o app
docker run -v $(pwd):/workspace ragedunicorn/apktool:latest \
b app -o app-rebuilt.apk
PowerShell:
docker run -v "${PWD}:/workspace" ragedunicorn/apktool:latest b app -o app-rebuilt.apk
The rebuilt APK is unsigned — sign it with apksigner or a similar tool before installing it on a device.
docker run -e APKTOOL_JAVA_OPTS="-Xmx4G -Dfile.encoding=utf-8" \
-v $(pwd):/workspace ragedunicorn/apktool:latest d big-app.apk -o big-app
PowerShell (a backtick continues the line):
docker run -e APKTOOL_JAVA_OPTS="-Xmx4G -Dfile.encoding=utf-8" `
-v "${PWD}:/workspace" ragedunicorn/apktool:latest d big-app.apk -o big-app
This image uses semantic versioning that includes all component versions:
Format: {apktool_version}-alpine{alpine_version}-{build_number}
X.Y.Z is the Apktool version, A.B.C the Alpine version:
X.Y.Z-alpineA.B.C-1 - Apktool X.Y.Z on Alpine A.B.C, first buildX.Y.Z-alpineA.B.C-2 - Rebuild of same versions (bug fixes, security patches)X.Y.Z-alpineA.B.D-1 - Alpine Linux patch updateX.Y+1.0-alpineA.B.C-1 - Apktool version updateX.Y.Z - Most recent build of Apktool X.Y.Zlatest - Most recent stable releaseThe available versions are listed in the Tags tab.
When updates are available through automated dependency management, new releases are created with appropriate version tags.
MIT License - See GitHub repository for details. Apktool itself is licensed under the Apache License 2.0.
Content type
Image
Digest
sha256:6846fb8ab…
Size
69 MB
Last updated
18 days ago
docker pull ragedunicorn/apktool