mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-03-04 09:04:39 -07:00
tests/docker: add debian11 base image
We won't use this for building QEMU but we do need newer GCC's and binutils for building some of our test cases. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20200520140541.30256-10-alex.bennee@linaro.org>
This commit is contained in:
parent
8ec6f33151
commit
086f269cf4
2 changed files with 19 additions and 1 deletions
18
tests/docker/dockerfiles/debian11.docker
Normal file
18
tests/docker/dockerfiles/debian11.docker
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#
|
||||
# Docker multiarch cross-compiler target
|
||||
#
|
||||
# This docker target uses the current development version of Debian as
|
||||
# a base for cross compilers for building test binaries. We won't
|
||||
# attempt to build QEMU on it yet given it is still in development.
|
||||
#
|
||||
# On its own you can't build much but the docker-foo-cross targets
|
||||
# build on top of the base debian image.
|
||||
#
|
||||
FROM debian:bullseye-slim
|
||||
|
||||
# Duplicate deb line as deb-src
|
||||
RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list
|
||||
|
||||
# Install common build utilities
|
||||
RUN apt update && \
|
||||
DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata
|
||||
Loading…
Add table
Add a link
Reference in a new issue