]> git.proxmox.com Git - rustc.git/blob - library/backtrace/ci/docker/s390x-unknown-linux-gnu/Dockerfile
New upstream version 1.50.0+dfsg1
[rustc.git] / library / backtrace / ci / docker / s390x-unknown-linux-gnu / Dockerfile
1 FROM ubuntu:20.04
2
3 RUN apt-get update && apt-get install -y --no-install-recommends \
4 gcc \
5 ca-certificates \
6 libc6-dev \
7 gcc-s390x-linux-gnu \
8 libc6-dev-s390x-cross \
9 qemu-user \
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
14
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