建立一个平台,并推动所有这些平台将是我最喜欢的解决方案。我发现的所有例子都是同时构建和推送所有平台--这对我来说是行不通的,因为我需要在每个图像中添加正确的二进制文件。有没有一种逐平台构建平台的方法?# seems that this is the buildx way
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/cp targ
--entrypoint "tail" rafal1137/etlraspbian "-f" "/dev/null"
WARNING: The requested image's platform (linux/arm) does not match the detected host platform (linux/amd64) and no specific platform was requested