Reduce reliance on Buildah by switching to 'podman pull ...'

Currently, the toolbox script depends on both the buildah and podman
commands. However, both are Go programs, and like all Go programs the
absense of shared libraries leads to bigger binaries. eg., the buildah
and podman binaries are approximately 22 MB and 48 MB respectively,
whereas the flatpak binary is a mere 1.4 MB.

Due to this, there's some nascent desire from the Endless OS folks to
reduce the dependency footprint of the toolbox script by replacing
Buildah with the corresponding Podman commands. This is a step in that
direction.
This commit is contained in:
Debarshi Ray 2019-05-02 16:23:22 +02:00
parent 5a5e563343
commit 3694b599d6

View file

@ -671,7 +671,7 @@ pull_base_toolbox_image()
spinner_directory=""
fi
$prefix_sudo buildah pull $base_toolbox_image_full >/dev/null 2>&3
$prefix_sudo podman pull $base_toolbox_image_full >/dev/null 2>&3
ret_val=$?
if [ "$spinner_directory" != "" ]; then