On 1/24/20 9:40 PM, Alex Bennée wrote:
This is a new dockerfile which can build the native architecture QEMU
on a Debian 10 based image whatever architecture that may be.

Signed-off-by: Alex Bennée <alex.ben...@linaro.org>
---
  .../dockerfiles/debian10-native-qemu-build.docker | 15 +++++++++++++++
  1 file changed, 15 insertions(+)
  create mode 100644 tests/docker/dockerfiles/debian10-native-qemu-build.docker

diff --git a/tests/docker/dockerfiles/debian10-native-qemu-build.docker 
b/tests/docker/dockerfiles/debian10-native-qemu-build.docker
new file mode 100644
index 0000000000..71bd2b1d83
--- /dev/null
+++ b/tests/docker/dockerfiles/debian10-native-qemu-build.docker
@@ -0,0 +1,15 @@
+#
+# Debain Native Build
+#
+# This docker target builds on the Debian Buster base image. It is
+# deliberatly architecture agnostic as it can build on any Debian
+# supported architecture.
+#
+FROM qemu:debian10
+MAINTAINER Alex Bennée <alex.ben...@linaro.org>
+
+# We use --arch-only as not all hosts have what's needed to build all
+# the binpkg's that come with QEMU (roms etc).
+RUN apt update && \
+    DEBIAN_FRONTEND=noninteractive eatmydata \
+    apt build-dep --arch-only -yy qemu


Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com>
Tested-by: Philippe Mathieu-Daudé <phi...@redhat.com>


Reply via email to