-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use termux-docker
in GitHub Actions?
#64
Comments
GitHub Actions issues first reported there: #62
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 |
For package manager issue alone, patches could be updated to check some variable like |
|
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: