diff options
| author | Alex Bennée | 2019-02-07 16:34:23 +0100 |
|---|---|---|
| committer | Alex Bennée | 2019-02-08 18:32:35 +0100 |
| commit | d6db2a1cdf6c173304c32be3dfc18e0c8985d9af (patch) | |
| tree | a22081120471913bdac796cdf0c34e11ff1a4fcf /tests/docker/dockerfiles/debian10.docker | |
| parent | archive-source.sh: Clone the submodules locally (diff) | |
| download | qemu-d6db2a1cdf6c173304c32be3dfc18e0c8985d9af.tar.gz qemu-d6db2a1cdf6c173304c32be3dfc18e0c8985d9af.tar.xz qemu-d6db2a1cdf6c173304c32be3dfc18e0c8985d9af.zip | |
docker: add debian-buster-arm64-cross
We can't build QEMU with this but we can use this image to build newer
arm64 testcases which need more up to date tools.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'tests/docker/dockerfiles/debian10.docker')
| -rw-r--r-- | tests/docker/dockerfiles/debian10.docker | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/docker/dockerfiles/debian10.docker b/tests/docker/dockerfiles/debian10.docker new file mode 100644 index 0000000000..aeeb151b52 --- /dev/null +++ b/tests/docker/dockerfiles/debian10.docker @@ -0,0 +1,31 @@ +# +# Docker multiarch cross-compiler target +# +# This docker target is builds on Debian cross compiler targets to build distro +# with a selection of cross compilers for building test binaries. +# +# On its own you can't build much but the docker-foo-cross targets +# build on top of the base debian image. +# +FROM debian:buster-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 +RUN DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt install -y --no-install-recommends \ + bison \ + build-essential \ + ca-certificates \ + clang \ + flex \ + gettext \ + git \ + pkg-config \ + psmisc \ + python \ + texinfo \ + $(apt-get -s build-dep qemu | egrep ^Inst | fgrep '[all]' | cut -d\ -f2) |
