Build `arm64` images by default and additionally do not require `docker buildx` for simple builds
What does this MR do and why?
- Build
arm64
by default - Make
custom-docker-build
to not require docker buildx - Install distrib chromium to avoid unmet dependencies
- Allow to resolve
debian-bullseye
into a proper name, as it is impossible to writeos-debian:bullseye-
Systems (Debian, Ubuntu) do not support docker buildx
command
as this requires using very recent version of buildx
, where-as
distribution packaged docker is using 20.10 version.
Install distrib package of Chromium to fix, as fetched packages are not enough to install chromium:
The following packages have unmet dependencies:
chromium : Depends: chromium-common (= 104.0.5112.101-1~deb11u1) but it is not going to be installed
Recommends: chromium-sandbox but it is not going to be installed
Additionally this improves error messages when unsupported version is used, by printing it on stderr instead of stdout (that is captured into variable).
Edited by Kamil Trzciński