Le 01/09/2020 à 04:47, Sutou Kouhei a écrit :
> 
> We can use "ARCH=s390x docker-compose run debian-java" (or
> "ARCH=s390x archery docker run debian-java") to debug on
> a local amd64 machine with qemu-user-static.

I don't know about debian-java, but when I try e.g. debian-cpp, it fails
with the following error:

$ ARCH=s390x docker-compose run --rm debian-cpp
Building debian-cpp
Step 1/7 : ARG arch=amd64
Step 2/7 : FROM ${arch}/debian:10
10: Pulling from s390x/debian
f2b199a6d9ad: Pull complete
Digest:
sha256:306d71cf97b70f08cd86f48c5dfdf2a4efbb901b1ac96f829bb4879a6ea94a2e
Status: Downloaded newer image for s390x/debian:10
 ---> 3d4e9be33cfe
Step 3/7 : ENV DEBIAN_FRONTEND noninteractive
 ---> Running in 2154fbbf1f11
Removing intermediate container 2154fbbf1f11
 ---> 4b87c2ffacbf
Step 4/7 : RUN   echo "deb http://deb.debian.org/debian buster-backports
main" >     /etc/apt/sources.list.d/backports.list
 ---> Running in 313fbeae3132
standard_init_linux.go:211: exec user process caused "exec format error"
ERROR: Service 'debian-cpp' failed to build: The command '/bin/sh -c
echo "deb http://deb.debian.org/debian buster-backports main" >
/etc/apt/sources.list.d/backports.list' returned a non-zero code: 1


Regards

Antoine.

Reply via email to