Open jrc opened 3 years ago
Update: still happening with
% docker -v
Docker version 20.10.6, build 370c289
% sw_vers
ProductName: macOS
ProductVersion: 11.4
BuildVersion: 20F71
Workaround: build using local mode, see https://forums.balena.io/t/unknown-error-executing-apt-key-on-apple-silicon/322093
Update (after a year): This is still an issue.
Also, the above workaround of using local mode is unbearably slow with RPi Zero devices, so it's not really an option.
% docker -v
Docker version 20.10.17, build 100c701
% sw_vers
ProductName: macOS
ProductVersion: 12.4
BuildVersion: 21F79
Steps to reproduce:
On a Apple Silicon machine:
docker build .
Expected: No errors
Actual: Fails due to
Configurations:
balenalib/raspberry-pi
on Intel WORKSbalenalib/raspberry-pi
on Apple Silicon FAILSbalenalib/raspberrypi3
on Apple Silicon WORKSOn Apple Silicon, latest Big Sur and Docker are used:
Additional debugging: