-
Notifications
You must be signed in to change notification settings - Fork 315
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
Multi architecture builds and manifests #140
Comments
No you can't, because the images are based on amd64 alpine image. |
Unless I rewrote your dockerfile for arm64v8.
Does that mean for the build function I need goos=Linux and goarch=arm64.
I’m trying that anyway.
…On Sat, 8 Sep 2018 at 12:34, Abiola Ibrahim ***@***.***> wrote:
No you can't, because the images are based on amd64 alpine image.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#140 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFGkc7Rp_82NogcOOU_yh4FtHUkDgAMDks5uYxCQgaJpZM4Wfi1m>
.
|
Oh, I misread your message. If it is simply to generate binaries, you can generate for any platform supported by Go including arm64 as indicated here.
|
@maxiride Yes, that is official binaries from caddy's build servers. This image builds from source and leverages Docker. https://github.com/abiosoft/caddy-docker#license |
It still doesn't pull the correct image architecture. I tried on an armv7 and received an exec format error. |
I don't know exactly how is the build process on dockerhub but I already seem a lot of images that have multi arch build there. eg. the images from https://www.linuxserver.io/ |
Can i use the existing Dockerfile for generating binaries for arm/arm64 and x86?
It seems to hang on the git pull on the arm servers.
I'm hoping to use this guys framework https://lobradov.github.io/Building-docker-multiarch-images/ to pull the right alpine images so that I can build for all archs.
The text was updated successfully, but these errors were encountered: