• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1FROM ubuntu:22.04
2
3RUN apt-get update && apt-get install -y --no-install-recommends \
4        curl ca-certificates \
5        gcc libc6-dev \
6        gcc-s390x-linux-gnu libc6-dev-s390x-cross \
7        qemu-system-s390x \
8        cpio
9
10COPY linux-s390x.sh /
11RUN bash /linux-s390x.sh
12
13COPY test-runner-linux /
14
15ENV CARGO_TARGET_S390X_UNKNOWN_LINUX_GNU_LINKER=s390x-linux-gnu-gcc \
16    CARGO_TARGET_S390X_UNKNOWN_LINUX_GNU_RUNNER="/test-runner-linux s390x" \
17    CC_s390x_unknown_linux_gnu=s390x-linux-gnu-gcc \
18    PATH=$PATH:/rust/bin
19