tests/docker: Install tools to cross-debug and build Linux kernels

We often run Linux kernels to test QEMU. We sometimes need
to build them manually to use non-default features. We only
miss the tiny 'bc' tool.

The ncurses library is helpful to run 'make menuconfig'.

Finally, gdb-multiarch allow us to debug a TCG guest when its
architecture is different than the host.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200212202738.12986-1-philmd@redhat.com>
Message-Id: <20200316172155.971-2-alex.bennee@linaro.org>
This commit is contained in:
Philippe Mathieu-Daudé 2020-03-16 17:21:28 +00:00 committed by Alex Bennée
parent 6fb1603aa2
commit 1bbf2d010f
2 changed files with 6 additions and 0 deletions

View file

@ -17,14 +17,17 @@ RUN apt update && \
DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \ DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \
DEBIAN_FRONTEND=noninteractive eatmydata \ DEBIAN_FRONTEND=noninteractive eatmydata \
apt install -y --no-install-recommends \ apt install -y --no-install-recommends \
bc \
bison \ bison \
build-essential \ build-essential \
ca-certificates \ ca-certificates \
clang \ clang \
dbus \ dbus \
flex \ flex \
gdb-multiarch \
gettext \ gettext \
git \ git \
libncurses5-dev \
pkg-config \ pkg-config \
psmisc \ psmisc \
python3 \ python3 \

View file

@ -17,13 +17,16 @@ RUN apt update && \
DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \ DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \
DEBIAN_FRONTEND=noninteractive eatmydata \ DEBIAN_FRONTEND=noninteractive eatmydata \
apt install -y --no-install-recommends \ apt install -y --no-install-recommends \
bc \
bison \ bison \
build-essential \ build-essential \
ca-certificates \ ca-certificates \
clang \ clang \
flex \ flex \
gdb-multiarch \
gettext \ gettext \
git \ git \
libncurses5-dev \
pkg-config \ pkg-config \
psmisc \ psmisc \
python3 \ python3 \