util/docker/coreboot-sdk: Exclude recommended packages from installation

Excluding the "recommended" packages reduces the size of the container
image from ~8.40GB to ~7.23GB.

Install the following packages in addition as they are useful for one or
the other case, or at some point even required:

  * ca-certificates
  * less
  * neovim
  * openssh-client

Change-Id: Ic38ba75765e3a0c21bbfe3f380880c9ac575d0d2
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76085
Reviewed-by: Nicholas Chin <nic.c3.14@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Singer 2023-06-25 01:20:23 +02:00 committed by Felix Singer
parent bbb2f30ba5
commit ebb1694e85

View File

@ -17,11 +17,12 @@ FROM debian:sid AS coreboot-sdk
RUN \ RUN \
useradd -p locked -m coreboot && \ useradd -p locked -m coreboot && \
apt-get -qq update && \ apt-get -qq update && \
apt-get -qqy install \ apt-get -qqy install --no-install-recommends \
bc \ bc \
bison \ bison \
bsdextrautils \ bsdextrautils \
bzip2 \ bzip2 \
ca-certificates \
ccache \ ccache \
cmake \ cmake \
cscope \ cscope \
@ -40,6 +41,7 @@ RUN \
graphicsmagick-imagemagick-compat \ graphicsmagick-imagemagick-compat \
graphviz \ graphviz \
lcov \ lcov \
less \
libcrypto++-dev \ libcrypto++-dev \
libcurl4 \ libcurl4 \
libcurl4-openssl-dev \ libcurl4-openssl-dev \
@ -62,6 +64,8 @@ RUN \
make \ make \
msitools \ msitools \
nasm \ nasm \
neovim \
openssh-client \
openssl \ openssl \
parted \ parted \
patch \ patch \