Message ID | 20180423144837.16710-1-f4bug@amsat.org |
---|---|
State | New |
Headers | show |
Series | docker: add debian/alpha image | expand |
Philippe Mathieu-Daudé <f4bug@amsat.org> writes: > This image is not enough to cross-build QEMU, > but it is useful enough to cross-compile TCG tests. > > Suggested-by: Alex Bennée <alex.bennee@linaro.org> > Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> > --- > tests/docker/dockerfiles/debian-alpha-cross.docker | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > create mode 100644 tests/docker/dockerfiles/debian-alpha-cross.docker > > diff --git a/tests/docker/dockerfiles/debian-alpha-cross.docker b/tests/docker/dockerfiles/debian-alpha-cross.docker > new file mode 100644 > index 0000000000..dce1d2e719 > --- /dev/null > +++ b/tests/docker/dockerfiles/debian-alpha-cross.docker > @@ -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. > + > +# 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
diff --git a/tests/docker/dockerfiles/debian-alpha-cross.docker b/tests/docker/dockerfiles/debian-alpha-cross.docker new file mode 100644 index 0000000000..dce1d2e719 --- /dev/null +++ b/tests/docker/dockerfiles/debian-alpha-cross.docker @@ -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
This image is not enough to cross-build QEMU, but it is useful enough to cross-compile TCG tests. Suggested-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> --- tests/docker/dockerfiles/debian-alpha-cross.docker | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/docker/dockerfiles/debian-alpha-cross.docker