summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2023-06-25 01:20:23 +0200
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2023-08-20 21:51:43 +0000
commitebb1694e859c0aff9975ad6db454e3f9edc3d3c0 (patch)
tree819b26b78977b2a4d9a3548373ed5236f38c147f /util
parentbbb2f30ba50e60006d842c48bdefac75f8e9ea2f (diff)
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>
Diffstat (limited to 'util')
-rw-r--r--util/docker/coreboot-sdk/Dockerfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/util/docker/coreboot-sdk/Dockerfile b/util/docker/coreboot-sdk/Dockerfile
index 2405838a4b..159af29c94 100644
--- a/util/docker/coreboot-sdk/Dockerfile
+++ b/util/docker/coreboot-sdk/Dockerfile
@@ -17,11 +17,12 @@ FROM debian:sid AS coreboot-sdk
RUN \
useradd -p locked -m coreboot && \
apt-get -qq update && \
- apt-get -qqy install \
+ apt-get -qqy install --no-install-recommends \
bc \
bison \
bsdextrautils \
bzip2 \
+ ca-certificates \
ccache \
cmake \
cscope \
@@ -40,6 +41,7 @@ RUN \
graphicsmagick-imagemagick-compat \
graphviz \
lcov \
+ less \
libcrypto++-dev \
libcurl4 \
libcurl4-openssl-dev \
@@ -62,6 +64,8 @@ RUN \
make \
msitools \
nasm \
+ neovim \
+ openssh-client \
openssl \
parted \
patch \