25 Commits

Author SHA1 Message Date
Leonid Pliushch
55bb986db4 bin: rename sh to mksh, add back busybox sh
mksh cause issues when building images for arm and aarch64.
2023-02-22 23:16:11 +02:00
Leonid Pliushch
c9a7ae10e2 bin: replace busybox sh with mksh from android 2023-02-22 21:50:54 +02:00
Leonid Pliushch
f7755c0d4a bin: provide su
Allows to drop privileges to "system" user from root.
2023-02-22 21:49:57 +02:00
Leonid Pliushch
5e5f33f672 bin: delete update-static-dns script 2023-02-22 21:49:13 +02:00
Leonid Pliushch
ddbe3b603e arm: add dnsmasq
Issue: https://github.com/termux/termux-docker/issues/48
2023-02-22 21:06:26 +02:00
Leonid Pliushch
c58071ee40 x86: add dnsmasq
Issue: https://github.com/termux/termux-docker/issues/48
2023-02-22 20:13:12 +02:00
Lars The
cf32710a93 Add support for user static DNS file (#45)
Adds the file `/data/data/com.termux/files/home/.static-dns-hosts.txt` with empty content to bind to it externally with some user hosts. The script `update-static-dns` then uses the regular system wide static-dns-hosts.txt and the content of this file. The user can edit it inside the container, and/or bind it with an external file.
2022-11-30 21:25:24 +08:00
Chongyun Lee
4c08c24bce update-static-dns: fix bug
Currently, update-static-dns will save the index.html under the
workdir. This commit will fix this unexpected behaviour.
2022-07-12 15:19:55 +08:00
Chongyun Lee
8298333eb5 Update: Add IPv6 DNS 2022-04-22 15:06:55 +08:00
Uchiha Kakashi
db3ee18a97 Update: update-static-dns (#17) 2022-02-05 12:15:21 +05:30
Leonid Pliushch
faa8a3015f static dns: acquire hostname through 'busybox hostname'
Separate hostname utility could be unavailable.
2021-07-23 13:53:12 +03:00
Leonid Pliushch
fdd10abd36 static dns: add current hostname as alias to localhost 2021-07-23 13:50:58 +03:00
Leonid Pliushch
fa3bab8419 multistage build, remove duplicate files
* Resulting image is 2x smaller and has only 1 layer.
* Move content of setup-termux.sh into Dockerfile.
* No duplicated static-dns-hosts.txt.
2021-07-10 01:57:44 +03:00
Krishna Kanhaiya
5121a52029 update host for static dns (#14) 2021-06-20 19:38:54 +03:00
Leonid Pliushch
98186e07b2 update hosts for static dns 2021-06-04 17:50:03 +03:00
Leonid Pliushch
985f7b7096 update hosts for static dns 2021-05-25 22:23:12 +03:00
Leonid Pliushch
a86d8e7e45 update hosts for static dns 2021-02-21 13:03:24 +02:00
Leonid Pliushch
d616bfb0b6 initial support for arm/arm64 containers
Issue https://github.com/termux/termux-docker/issues/9.

System components are imported from Android 9 GSI (aarch64).
2021-02-16 01:04:18 +02:00
Leonid Pliushch
1852dc629e update hosts for static dns
termux-tools/pkg has been updated again
2021-02-15 22:12:09 +02:00
Leonid Pliushch
5e7ad41f67 update hosts for static dns 2021-02-14 19:42:35 +02:00
Deshdeepak
5953db0b5e Update static-dns-hosts.txt 2020-10-25 12:39:09 +02:00
Leonid Pliushch
c83ea4bb8f Update static-dns-hosts.txt
Add index.rubygems.org, needed by Ruby.
2020-10-19 14:50:25 +03:00
Krishna Kanhaiya
14a7283c31 Update static-dns-hosts.txt
Add npm repository host
2020-10-12 11:13:27 +03:00
Leonid Pliushch
06394a27e1 static dns: add domains used by python and ruby package managers 2020-08-27 23:49:45 +03:00
Leonid Pliushch
3acf2e7082 use bionic multilib sysroot for both 32bit and 64bit Termux environment 2020-08-26 13:41:41 +03:00