119 Commits

Author SHA1 Message Date
izzy2lost
ce6cd7a073 Update docker_build.yml aarch64 arm 2025-03-19 22:57:33 -04:00
izzy2lost
c7a7b2a083 Update docker_build.yml 2025-03-19 22:52:24 -04:00
izzy2lost
c0e8fe0752 Update docker_build.yml 2025-03-19 22:44:47 -04:00
izzy2lost
3f1c8c4ab9 Update docker_build.yml 2025-03-19 22:37:27 -04:00
Jia Yuan Lo
e3c861f5b6 enhance(ci): generate, export, store tar archive (#61) 2024-01-17 10:50:58 +08:00
Jia Yuan Lo
6189bbd74b Update README.md
The actual 32bit libc limit PID_MAX hardcodes to 65535.
The initial value 65536 was taken from other 32bit Linux distro which is not applicable for 32bit Android.
So do a minor correction.

Refer termux-docker#40
2023-11-16 18:06:51 +08:00
dependabot[bot]
609437ad70 build(deps): bump docker/login-action from 2 to 3
Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-23 23:54:17 +08:00
dependabot[bot]
f8e47df669 build(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-23 23:53:14 +08:00
Leonid Pliushch
c03156ef4f bootstrap: update to 2023.02.19 2023-02-23 19:43:48 +02:00
Leonid Pliushch
6c17e4e017 docker: reset environment after su
Fixes environment for login, SHLVL = 1 now, etc.
2023-02-23 19:32:39 +02:00
Leonid Pliushch
d1cfc5fe6f docker: fix entrypoint script
Don't run su in login mode.
2023-02-23 19:26:56 +02:00
Leonid Pliushch
5bff10a4b6 readme: add back build instructions 2023-02-23 12:58:09 +02:00
Leonid Pliushch
dd2fb82e0a deprecate run.sh and run-x86_64.sh scripts 2023-02-23 12:18:45 +02:00
Leonid Pliushch
ccb8190843 update readme 2023-02-23 12:15:35 +02:00
Leonid Pliushch
4fab030986 docker: add alternate entrypoint script
This one spawns a root shell.
2023-02-23 12:15:03 +02:00
Leonid Pliushch
66799e6bc0 docker: update argument handling in entrypoint script 2023-02-23 11:46:42 +02:00
Leonid Pliushch
988ecdaf07 docker: update entrypoint script
* Split conditional for non-root check.
* Force-drop privileges to user "system".
2023-02-23 10:23:35 +02:00
Leonid Pliushch
4360caad29 docker: don't install updates for aarch64
Workaround for aarch64 image build issues.
2023-02-23 10:07:40 +02:00
Leonid Pliushch
5cfdc47f79 docker: use mksh to launch dnsmasq 2023-02-22 23:17:30 +02:00
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
58a99c42cb Merge pull request #49 from termux/dnsmasq
Switch to dynamic DNS host name resolution. Implemented using dnsmasq as suggested in https://github.com/termux/termux-docker/issues/48.

The dnsmasq server is started by entrypoint script before launching the actual command or shell. This will have side effect on usage: container must always be started as root.
2023-02-22 22:32:48 +02:00
Leonid Pliushch
eb7481ede9 docker: don't switch user by default 2023-02-22 22:32:12 +02:00
Leonid Pliushch
f49601a89e docker: add entrypoint script
Entrypoint script starts dnsmasq before shell is launched.
2023-02-22 22:22:45 +02:00
Leonid Pliushch
4aac3f0f1e docker: launch dnsmasq properly during build 2023-02-22 21:50:58 +02:00
Leonid Pliushch
c9a7ae10e2 bin: replace busybox sh with mksh from android 2023-02-22 21:50:54 +02:00