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)
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

index 28a30db8331d88498f858d575b867cdff3809ecb..b7cf36ab677e406895ae226a106209136d7ded94 100644 (file)
@@ -17,6 +17,7 @@ RUN \
                build-essential \
                ccache \
                curl \
+               file \
                gawk \
                g++-multilib \
                gcc-multilib \