3 RUN apt-get update && apt-get install -y --no-install-recommends \
8 libc6-dev-s390x-cross \
10 # There seems to be a bug in processing mixed-architecture
11 # ld.so.cache files that causes crashes in some cases. Work
12 # around this by simply deleting the cache for now.
13 && rm /etc/ld.so.cache
15 ENV CARGO_TARGET_S390X_UNKNOWN_LINUX_GNU_LINKER=s390x-linux-gnu-gcc \
16 CARGO_TARGET_S390X_UNKNOWN_LINUX_GNU_RUNNER="qemu-s390x -L /usr/s390x-linux-gnu" \
17 CC=s390x-linux-gnu-gcc