You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I want to test a bash installer script within the termux-docker image using GitHub Actions. While GitHub Actions does support running commands within a custom docker image/container, it does not honor the ENTRYPOINT of the image and insists on running everything as root. Even running the commands explicitly under /entrypoint.sh ... to drop privileges does not seem to work properly, due to permission issues. It also seems that the GitHub Actions actions/checkout module expects node to be installed at /__e/node20/bin/node. I also encountered strange networking issues when executing /entrypoint.sh ... multiple times. Is termux-docker even compatible with GitHub Actions? Maybe this is something that could be documented better?
The text was updated successfully, but these errors were encountered:
Is termux-docker even compatible with GitHub Actions?
It is not compatible. In fact termux-docker was originally made to run Termux environment locally, on PC.
There is no way to make it support root-only usage. Termux package manager is patched to disable usage as root user, so privilege dropping is mandatory.
Also you need to start a local DNS resolver, which is currently dnsmasq. It sometimes doesn't work properly and hangs with 100% CPU usage. However there currently no better variant.
Hello, I want to test a bash installer script within the
termux-docker
image using GitHub Actions. While GitHub Actions does support running commands within a custom docker image/container, it does not honor theENTRYPOINT
of the image and insists on running everything asroot
. Even running the commands explicitly under/entrypoint.sh ...
to drop privileges does not seem to work properly, due to permission issues. It also seems that the GitHub Actionsactions/checkout
module expectsnode
to be installed at/__e/node20/bin/node
. I also encountered strange networking issues when executing/entrypoint.sh ...
multiple times. Istermux-docker
even compatible with GitHub Actions? Maybe this is something that could be documented better?The text was updated successfully, but these errors were encountered: