Skip to contentSkip to conversation

docker: add debian/alpha image

PATCH In review Philippe Mathieu-Daudé 2 participants 2 messages Apr 23, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docker: add debian/alpha image

This image is not enough to cross-build QEMU, but it is useful enough to cross-compile TCG tests.

---
 tests/docker/dockerfiles/debian-alpha-cross.docker | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 tests/docker/dockerfiles/debian-alpha-cross.docker
tests/docker/dockerfiles/debian-alpha-cross.docker new file +13 -0
new file mode 100644
index 0000000000..dce1d2e719
@@ -0,0 +1,13 @@
+#
+# Docker alpha cross-compiler target
+#
+# This docker target builds on the debian Stretch base image.
+#
+FROM qemu:debian9
+
+# Add the foreign architecture we want and install dependencies
+RUN dpkg --add-architecture alpha
+RUN apt update
+RUN DEBIAN_FRONTEND=noninteractive eatmydata \
+    apt-get install -y --no-install-recommends \
+        gcc-alpha-linux-gnu
Signature · 1 line
2.17.0
#1 lore raw
Quoted 16 lines · Philippe Mathieu-Daudé

This image is not enough to cross-build QEMU, but it is useful enough to cross-compile TCG tests.

---
 tests/docker/dockerfiles/debian-alpha-cross.docker | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 tests/docker/dockerfiles/debian-alpha-cross.docker
tests/docker/dockerfiles/debian-alpha-cross.docker new file +0 -0
new file mode 100644
index 0000000000..dce1d2e719

tests/docker/dockerfiles/debian-alpha-cross.docker line 6

Quoted 6 lines
tests/docker/dockerfiles/debian-alpha-cross.docker new file +6 -0
@@ -0,0 +1,13 @@
+#
+# Docker alpha cross-compiler target
+#
+# This docker target builds on the debian Stretch base image.
+#
+FROM qemu:debian9

I should have noticed this. However I'm currently enabling a bunch of additional cross compilers which SID has for the benefit of the various ports.

tests/docker/dockerfiles/debian-alpha-cross.docker line 13

Quoted 7 lines
tests/docker/dockerfiles/debian-alpha-cross.docker new file +7 -0
+
+# Add the foreign architecture we want and install dependencies
+RUN dpkg --add-architecture alpha
+RUN apt update
+RUN DEBIAN_FRONTEND=noninteractive eatmydata \
+    apt-get install -y --no-install-recommends \
+        gcc-alpha-linux-gnu

--
Alex Bennée