https://github.com/sofianhw/docker-redex
Docker file for Facebook ReDex container (zip your apks inside a container)
https://github.com/sofianhw/docker-redex
Last synced: 6 months ago
JSON representation
Docker file for Facebook ReDex container (zip your apks inside a container)
- Host: GitHub
- URL: https://github.com/sofianhw/docker-redex
- Owner: sofianhw
- License: mit
- Created: 2016-06-19T21:32:20.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-19T21:39:32.000Z (about 10 years ago)
- Last Synced: 2025-01-20T13:35:28.612Z (over 1 year ago)
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ReDex Docker Container

Dockerfile for [Facebook ReDex](http://fbredex.com/) ([source](https://github.com/facebook/redex)), the Facebook Android Bytecode optimizer. If you want to better understand what does ReDex perform on your apk, let's have a look at this article: [Open-sourcing ReDex](https://code.facebook.com/posts/998080480282805/open-sourcing-redex-making-android-apps-smaller-and-faster/).
You can use this container to optimize your Android APKs without _violating_ your host system with tons of dependencies :)
## Usage
You can run ReDex with a single command
```bash
docker run -v /your-apk-folder:/data/redex sofianhw/redex redex your-apk.apk -o out.apk
```
You will find a compressed apk called *out.apk* inside `/your-apk-folder` (change with your own apk folder).
## Build the container
If you want to re-build the container, you have to clone the repo and trigger the building:
```bash
git clone https://github.com/sofianhw/docker-redex.git && cd docker-redex && docker build .
```
## License
The following software is licensed under the [MIT License](https://raw.githubusercontent.com/sofianhw/docker-redex/master/LICENSE). Redex is license under the [BSD License](https://raw.githubusercontent.com/facebook/redex/master/LICENSE)
## Fork from
[cortinico/redex](https://github.com/cortinico/docker-redex)