-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to build simple arm64 containers on amd64 host #90
Comments
On further investigation, I found that the Having re-built |
Fixes concourse#90 Signed-off-by: David Ackroyd <daveo.ackroyd@gmail.com>
Fixes concourse#90 Signed-off-by: David Ackroyd <daveo.ackroyd@gmail.com>
I’ll need to do a bit more digging tomorrow to isolate the affected hosts better, as I’ve not tested beyond our Concourse workers (which failed), and a quick check on an Intel MacBook (which passed) that needs to be confirmed. The issue title I’ve given suggests it is more widespread than I think it actually is in practice |
Got to do a little more testing today, and confirmed that without the buildkit:0.10.3 upgrade:
With the 0.10.3 upgrade in place, both the Concourse workers and the Intel MacBook passed the build. |
@dackroyd today in our own CI we encounter the same error
with oci-build-task
in worker with arch When merging #91 , we didn't have a chance to test like now, I am wondering if you could try using |
@xtremerui it looks like you're running into a different issue here, i.e. This suggests to me that the build is running for the I have had some success with the updated buildkit version to the point that simple builds do now work, however there is another issue with the emulation currently blocking anything non-trivial for us: tonistiigi/binfmt#112 |
We have run into some issues trying to build for multiple architectures (currently separate build + push for each) where an
arm64
image is being built. Our Concourse workers are allamd64
arch, and we're looking to build for both that and forarm64
.In the case of the
arm64
build, this fails with an error like:I've managed to boil this down to a simple case which fails reproducibly:
This fails with:
Additional Notes:
The text was updated successfully, but these errors were encountered: