2 # Docker powerpc cross-compiler target for QEMU
4 # We can't use current Debian stable cross-compilers to build powerpc
5 # as it has been dropped as a release architecture. Using Debian Sid
6 # is just far too sketchy a build environment. This leaves us the
7 # final option of using linux-user. This image is based of the
8 # debootstrapped qemu:debian-powerpc-user but doesn't need any extra
9 # magic once it is setup.
11 # It can be used to build old versions of QEMU, current versions need
12 # newer dependencies than Jessie provides.
14 FROM qemu:debian-powerpc-user
16 RUN echo man-db man-db/auto-update boolean false | debconf-set-selections
17 RUN apt-get update && \
18 DEBIAN_FRONTEND=noninteractive apt-get build-dep -yy qemu
20 ENV QEMU_CONFIGURE_OPTS --disable-werror
21 ENV DEF_TARGET_LIST powerpc-softmmu,arm-linux-user,aarch64-linux-user