A Dockerized environment for Android's ADB (Android Debug Bridge). This repository provides a lightweight and optimized Docker image for running ADB commands.
- Lightweight: Uses a multi-stage build.
- Compact: Only includes
adb
binary! - Optimized: Compresses the
adb
binary for faster execution. - Easy to Use: Run ADB commands without the need for local installation.
- Docker installed on your machine.
To run a command using the Docker image:
docker run -it --rm ghcr.io/chkpwd/adb-tools:latest [YOUR_ADB_COMMAND]
For example:
- docker run -it --rm ghcr.io/chkpwd/adb-tools:latest version
If you wish to override the default entrypoint:
docker run -it --rm --entrypoint bash ghcr.io/chkpwd/adb-tools:latest
- Clone the repository:
git clone https://github.com/chkpwd/adb-tools.git
cd adb-tools
docker build -t adb-tools .
- Run ADB commands using the Docker container:
docker run --rm adb-tools [YOUR_ADB_COMMAND]
Feel free to open issues or pull requests if you have suggestions or improvements.