docs/system/gdb.rst: Add some more heading structure
[qemu/ar7.git] / tests / docker / dockerfiles / debian-s390x-cross.docker
blob9f2ab51eb09af4c2a8fbeb29d529b28394178689
2 # Docker s390 cross-compiler target
4 # This docker target builds on the debian Stretch base image.
6 FROM qemu/debian10
8 # Add the s390x architecture
9 RUN dpkg --add-architecture s390x
11 # Grab the updated list of packages
12 RUN apt update && apt dist-upgrade -yy
13 RUN apt update && \
14     DEBIAN_FRONTEND=noninteractive eatmydata \
15     apt install -y --no-install-recommends \
16         gcc-multilib-s390x-linux-gnu
18 RUN apt update && \
19     DEBIAN_FRONTEND=noninteractive eatmydata \
20     apt build-dep -yy -a s390x --arch-only qemu
22 # Specify the cross prefix for this image (see tests/docker/common.rc)
23 ENV QEMU_CONFIGURE_OPTS --cross-prefix=s390x-linux-gnu-
24 ENV DEF_TARGET_LIST s390x-softmmu,s390x-linux-user
26 # Install extra libraries to increase code coverage
27 RUN apt update && \
28     DEBIAN_FRONTEND=noninteractive eatmydata \
29     apt install -y --no-install-recommends \
30         libbz2-dev:s390x \
31         liblzo2-dev:s390x \
32         librdmacm-dev:s390x \
33         libsnappy-dev:s390x