Skip to content

Commit

Permalink
docker: buildworker: add missing file package
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ynezz committed Sep 27, 2024
1 parent 3812ff7 commit cd6a70c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/buildworker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN \
build-essential \
ccache \
curl \
file \
gawk \
g++-multilib \
gcc-multilib \
Expand Down

0 comments on commit cd6a70c

Please sign in to comment.