2 # Docker ppc64el cross-compiler target
4 # This docker target builds on the debian Stretch base image.
8 # Add the foreign architecture we want and install dependencies
9 RUN dpkg --add-architecture ppc64el && \
11 RUN apt install -yy crossbuild-essential-ppc64el
13 RUN DEBIAN_FRONTEND=noninteractive eatmydata \
14 apt-get build-dep -yy -a ppc64el qemu
16 # Specify the cross prefix for this image (see tests/docker/common.rc)
17 ENV QEMU_CONFIGURE_OPTS --cross-prefix=powerpc64le-linux-gnu-
19 # Install extra libraries to increase code coverage
20 RUN DEBIAN_FRONTEND=noninteractive eatmydata \
21 apt-get install -y --no-install-recommends \
24 librdmacm-dev:ppc64el \