[PATCH v1 10/13] tests/docker: add debian10-native-qemu-build

Alex Bennée posted 13 patches 6 years ago
Only 12 patches received!
[PATCH v1 10/13] tests/docker: add debian10-native-qemu-build
Posted by Alex Bennée 6 years ago
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.bennee@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.bennee@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
-- 
2.20.1


Re: [PATCH v1 10/13] tests/docker: add debian10-native-qemu-build
Posted by Philippe Mathieu-Daudé 6 years ago
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.bennee@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.bennee@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é <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>