Softwr

Mobile Development · head to head

Apache Cordova vs Buildah

Apache Cordova logo

Apache Cordova

Mobile Development

Open source framework for wrapping HTML, CSS and JavaScript apps as mobile apps

From
Free
Free plan
Yes
Buildah logo

Buildah

Cloud

Build OCI container images without a daemon or a Dockerfile

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only Apache Cordova lists targets iOS, Android and Electron; only Buildah lists daemonless builds.
  • Where Apache Cordova falls short: apps render in a web view, so UI is not native by default.
  • Where Buildah falls short: linux only, with no native macOS or Windows support.

How do Apache Cordova and Buildah differ?

Apache Cordova and Buildah differ on pricing model, platforms and category (Mobile Development against Cloud). Only the attributes on which Apache Cordova and Buildah actually diverge.

Attributes where Apache Cordova and Buildah differ
AttributeApache CordovaBuildah
Pricing modelOpen-sourceOpen source, no licence fee
PlatformsiOS, Android, Windows, macOS, LinuxLinux
CategoryMobile DevelopmentCloud

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: founded for Buildah.

Which features does each one have?

They share no listed features; 6 appear only for Apache Cordova and 4 only for Buildah. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Apache Cordova

  • Single JavaScript API for device functions
  • Plugin system managed from the command line
  • Targets iOS, Android and Electron
  • HTML, CSS and JavaScript app code
  • Apache 2.0 open source licence
  • Platform feature support documentation

Only in Buildah

  • Daemonless builds
  • Rootless
  • Dockerfile compatible
  • Scriptable builds

What is each one used for?

Apache Cordova is most often brought in for wrapping an existing web app as a mobile app; Buildah for building images in CI without a privileged Docker daemon. The jobs each tool is most often brought in to do.

Apache Cordova

  • Wrapping an existing web app as a mobile appnot Buildah
  • Single codebase for iOS and Androidnot Buildah
  • Prototyping mobile apps with web skillsnot Buildah
  • Accessing device features from JavaScript through pluginsnot Buildah

Buildah

  • Building images in CI without a privileged Docker daemonnot Apache Cordova
  • Producing minimal images with tighter layer control than a Dockerfile givesnot Apache Cordova
  • Scripted image assembly where a Dockerfile is the wrong abstractionnot Apache Cordova

Where do Apache Cordova and Buildah fall short?

Apache Cordova's most cited limit: apps render in a web view, so UI is not native by default. Buildah's: linux only, with no native macOS or Windows support. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Apache Cordova

  • Apps render in a web view, so UI is not native by default
  • No built-in UI component library or hosted build service
  • Adobe's PhoneGap Build cloud service was discontinued in 2020
  • Many platforms listed in older versions, such as BlackBerry and Tizen, are no longer supported

Buildah

  • Linux only, with no native macOS or Windows support
  • Scriptable builds are powerful but less portable and less familiar than a Dockerfile
  • Narrow by design: it builds images and does not run them, so it needs Podman or another runtime alongside

How much do Apache Cordova and Buildah cost?

Apache Cordova is free to use; Buildah is free to use. Plan by plan below, from each vendor's own pricing page.

Apache Cordova

Free

No published plan breakdown. See the Apache Cordova review.

Buildah

Free
  • BuildahFree
    • Full functionality
    • No usage limits
    • Community support

Which should you pick?

Choose Apache Cordova if

  • You need single javascript api for device functions.
  • You want to start without paying.
  • You work on iOS, Android, Windows, macOS, Linux.
  • You also want plugin system managed from the command line.

Choose Buildah if

  • You need daemonless builds.
  • You want to start without paying.
  • You work on Linux.
  • You also want rootless.

Questions people ask

Is Apache Cordova or Buildah better?
It depends on the job. Apache Cordova fits wrapping an existing web app as a mobile app; Buildah fits building images in CI without a privileged Docker daemon. Apache Cordova starts at Free and Buildah at Free.
Which is cheaper, Apache Cordova or Buildah?
Apache Cordova starts at Free and Buildah at Free.
Does Apache Cordova or Buildah run on more platforms?
Apache Cordova runs on iOS, Android, Windows, macOS, Linux. Buildah runs on Linux.
Can I use Apache Cordova for free?
Both have a free tier, so you can try either at no cost before committing.
What is Apache Cordova best used for?
Apache Cordova is most often used for wrapping an existing web app as a mobile app, single codebase for ios and android, prototyping mobile apps with web skills, accessing device features from javascript through plugins. Of those, wrapping an existing web app as a mobile app and single codebase for ios and android are not what Buildah is typically brought in for.
What can Apache Cordova do that Buildah cannot?
Apache Cordova covers Single JavaScript API for device functions, Plugin system managed from the command line, Targets iOS, Android and Electron, HTML, CSS and JavaScript app code. Buildah covers Daemonless builds, Rootless, Dockerfile compatible, Scriptable builds.

Answered from the vendors’ own pages

Apache Cordova: Is Apache Cordova free?

Yes. The project describes itself as free and open source under the Apache License 2.0, maintained by the Apache Software Foundation.

Source
Buildah: Is Buildah free?

Yes, open source with no licence fee.

Apache Cordova: How is Cordova related to PhoneGap?

Nitobi Software developed PhoneGap in 2008 and Adobe acquired Nitobi in October 2011. The code was contributed to Apache and renamed Cordova.

Source
Buildah: Do I still need a Dockerfile?

No. Buildah reads Dockerfiles if you have them, but images can be built entirely from shell commands instead.

Apache Cordova: Which platforms does Cordova support?

As of version 11, iOS, Android, Windows 8.1, Windows Phone 8.1, Windows 10 and Electron are listed on Wikipedia. The project site has a page of per-platform feature support.

Source
Buildah: How is Buildah different from Podman?

Buildah builds images; Podman runs them. Podman actually embeds Buildah for its build command, and the two are designed to be used together.

Share

Related pages

Other head to heads