How can i run termux from docker in CI/CD #4291
-
how can i run the termux-docker image in something like github actions or circleci. I am working on a project in which i need to install alot of packages from the termux repo, and my device is kinda running short of storage space, so only option is this. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
https://github.com/termux/termux-packages/blob/master/.github/workflows/packages.yml |
Beta Was this translation helpful? Give feedback.
-
This worked name: Set up QEMU for aarch64 emulation
run: docker run --rm --privileged aptman/qus -s -- -p aarch64 arm
- name: Run Termux
run: |
docker run \
--privileged \
--name termux-docker-arm \
termux/termux-docker:arm \
bash -c "uname -a" > /home/runner/work/learn-docker/learn-docker/foo.txt
docker stop termux-docker-arm
- name: Cleanup Docker
if: always()
run: |
docker ps -aq --filter "name=termux-arm" | xargs -r docker stop
docker ps -aq --filter "name=termux-arm" | xargs -r docker rm
- run: cat foo.txt |
Beta Was this translation helpful? Give feedback.
You did not setup binfmt misc...