An open API service indexing awesome lists of open source software.

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)

Awesome Lists containing this project

README

          

# ReDex Docker Container

![Redex+Docker](http://i.imgur.com/5CnDpdA.png)

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)