termux-packages icon indicating copy to clipboard operation
termux-packages copied to clipboard

[Package]: buildah

Open shankar-narayan-k opened this issue 1 year ago • 1 comments

Why is it worth to add this package?

Buildah specializes in building OCI images. Buildah's commands replicate all of the commands that are found in a Dockerfile. This allows building images with and without Dockerfiles while not requiring any root privileges.

Home page URL

https://buildah.io/

Source code URL

https://github.com/containers/buildah.git

Packaging policy acknowledgement

  • [X] The project is actively developed.

  • [X] The project has existing packages and is "well known".

  • [X] Licensed under an open source license.

  • [X] Not available through a language package manager: pip, npm, cpan, cargo, etc.

  • [ ] Not taking up too much disk space (< 100MiB per architecture, exceptions can be made)

  • [ ] Not duplicating the functionality of existing packages.

  • [X] Not serving hacking, malware, phishing, spamming, spying, ddos functionality.

  • [X] I certify that I have read Termux Packaging Policy and understand that my request will be denied if it is found lacking.

Additional information

No response

shankar-narayan-k avatar Aug 27 '24 14:08 shankar-narayan-k

buildah will need root permission on Termux.

It needs to use runc to build a OCI image, use mount/unmount syscall and use overlayfs. Any of them needs root permission on Android.

licy183 avatar Aug 28 '24 06:08 licy183

@licy183

Can you please suggest any alternatives to build images without root on Android?

shankar-narayan-k avatar Sep 02 '24 00:09 shankar-narayan-k

Currently, it is not possible to do such things without running a virtual machine on Termux. The virtual machine software on Termux is qemu-system, and its performance is relatively not good.

licy183 avatar Sep 02 '24 05:09 licy183