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:
parent
5a5e563343
commit
3694b599d6
1 changed files with 1 additions and 1 deletions
2
toolbox
2
toolbox
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue