08-29-2017, 05:36 AM
(This post was last modified: 08-30-2017, 07:07 AM by CallMeFoxie.)
Code:
~/repos/pine64-mainline-project/docker/aarch64-builder # docker build -t aarch64-builder .
The aarch64-builder is used on a host machine (x86_64), the debiantretch image is targetted at this arch, not arm64 You'd have to use alternate base image.
Code:
root@pine64-unknown:~/pine64-mainline-project# docker run -ti aarch64/debian:stretch uname -a
Linux 0f0d6ed373eb 4.13.0-rc7 #1 SMP Mon Aug 28 16:07:44 UTC 2017 aarch64 GNU/Linux
root@pine64-unknown:~/pine64-mainline-project# docker run -ti debian:stretch uname -a
standard_init_linux.go:187: exec user process caused "exec format error"