docker: buildworker: add missing file package
authorPetr Štetiar <ynezz@true.cz>
Fri, 27 Sep 2024 07:33:09 +0000 (07:33 +0000)
committerPetr Štetiar <ynezz@true.cz>
Fri, 27 Sep 2024 07:39:12 +0000 (07:39 +0000)
commitcd6a70c93310d44a5fd01177be6c4640ba3f5e9b
treea037d2262f6a02742f9dd22f83763d39959e7517
parent3812ff7bb296d392d3393f919336e73425144f23
docker: buildworker: add missing file package

In Debian 11 (Bullseye), the `file` package was installed indirectly
because the `man-db` package recommended it. The `man-db` package is
often installed as a dependency of other packages, such as
`build-essential` and tools like `gcc` and `make`.  By default,
`apt-get` installs recommended packages, so `file` was installed
automatically.

Starting from Debian 12 (Bookworm), the `man-db` package no longer
recommends the `file` package. This change was made to reduce the size
of minimal container images and installations where `file` is not
essential.

So lets install this package explicitly.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
docker/buildworker/Dockerfile