diff options
author | Philippe Mathieu-Daudé | 2017-07-18 02:31:38 +0200 |
---|---|---|
committer | Alex Bennée | 2017-07-18 11:54:30 +0200 |
commit | 31e205d1bf6041c4a254ed6ab2b203d8acf03989 (patch) | |
tree | 574f120c75680e5947bf60f30cd5a68963a0efdd /tests/docker/dockerfiles/debian-armel-cross.docker | |
parent | docker: optimize debian9 base image (diff) | |
download | qemu-31e205d1bf6041c4a254ed6ab2b203d8acf03989.tar.gz qemu-31e205d1bf6041c4a254ed6ab2b203d8acf03989.tar.xz qemu-31e205d1bf6041c4a254ed6ab2b203d8acf03989.zip |
docker: add debian/armel based on Stretch
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'tests/docker/dockerfiles/debian-armel-cross.docker')
-rw-r--r-- | tests/docker/dockerfiles/debian-armel-cross.docker | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/docker/dockerfiles/debian-armel-cross.docker b/tests/docker/dockerfiles/debian-armel-cross.docker new file mode 100644 index 0000000000..e3bd68f51e --- /dev/null +++ b/tests/docker/dockerfiles/debian-armel-cross.docker @@ -0,0 +1,24 @@ +# +# Docker armel cross-compiler target +# +# This docker target builds on the debian Stretch base image. +# +FROM qemu:debian9 +MAINTAINER Philippe Mathieu-Daudé <f4bug@amsat.org> + +# Add the foreign architecture we want and install dependencies +RUN dpkg --add-architecture armel && \ + apt update +RUN apt install -yy crossbuild-essential-armel +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get build-dep -yy -a armel qemu + +# Specify the cross prefix for this image (see tests/docker/common.rc) +ENV QEMU_CONFIGURE_OPTS --cross-prefix=arm-linux-gnueabi- + +RUN DEBIAN_FRONTEND=noninteractive eatmydata \ + apt-get install -y --no-install-recommends \ + libbz2-dev:armel \ + liblzo2-dev:armel \ + librdmacm-dev:armel \ + libsnappy-dev:armel |