From 04eeaa4e4f236092e54fbf1277ea1935cdad18c9 Mon Sep 17 00:00:00 2001 From: pi-ux-ce Date: Tue, 27 May 2025 16:09:48 +0000 Subject: [PATCH] Add README.md --- README.md | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..261d02a --- /dev/null +++ b/README.md @@ -0,0 +1,52 @@ +### Docker + + + + + +Alternatively you can build and use the docker image to have a readily available environment. Ensure you have a folder containing your XAPK to mount to the container. + + +```bash + + +docker build -t xapktoapk . + + +docker run --rm -it -v ./data:/mnt/data xapktoapk /mnt/data/app.xapk + + +``` + + +You may optionally mount your own properties and truststore. + + +```bash + + +docker build -t xapktoapk . + + +docker run --rm -it \ + + + -v ./data:/mnt/data xapktoapk /mnt/data/app.xapk \ + + + -v ./home/username/.android/debug.keystore:/mnt/debug.keystore:ro \ + + + -v ./xapktoapk.sign.properties:/xapktoapk/xapktoapk.sign.properties:ro \ # `sign.keystore.file` should point to `/mnt/debug.keystore` + + + xapktoapk \ + + + /mnt/data/app.xapk + + +``` + + +The converted `.apk` file will be available in the `data` folder. \ No newline at end of file