forked from DL-Mirrors/termux-docker
b12229c476c59a177cd8450664ed71a4a80fb43c
Termux environment for Docker/Podman.
A Termux i686 (x86_64) environment packaged into Docker image. Environment doesn't have Android runtime components, so certain things will not be available (DalvikVM, OpenSLES, etc...).
How to use
- Make sure that Docker is installed and running.
git clone https://github.com/termux/termux-docker && cd ./termux-docker./run.shor./run-x86_64.sh- if need x86_64 arch.
You can use the image directly without startup script. For example:
docker run -it xeffyr/termux:latest
You can build Docker image yourself by running this script:
./build-all.sh
Using with Podman
If you have Podman instead of Docker, usage is nearly same.
Building image:
./build-all.sh --podman
Running image:
./run.sh --podman
./run-x86_64.sh --podman
Known issues
There a number of known issues which may not be resolved:
- DNS: Docker image has to use a static DNS resolver through
/system/etc/hosts. You can regenerate this file by editing/system/etc/static-dns-hosts.txtand executing script/system/bin/update-static-dns.
Description
Languages
Dockerfile
64.9%
Shell
35.1%