-
Notifications
You must be signed in to change notification settings - Fork 20
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
base镜像增加aarch64 build #88
Comments
感觉意义不大,镜像主要用于服务器环境,不如等 aarch64 服务器铺开再说 |
主要是在本地测试的过程中遇到了一些问题,最后不得不改用 alpine:latest 否则无法顺利 build。 |
具体是什么问题呢? |
Docker 18 (Linux aarch64) 以 ustcmirror/base:alpine 为基础镜像进行构建时,RUN apk add 报 exec format error(来源是 Docker 引擎内部的 go 代码)。 |
可以用 qemu-user 跑吗?比如说 https://github.com/multiarch/qemu-user-static |
主要是:
|
Docker BuildKit(通过
是个很切实的问题,可能短期内还是需要借助 BuildKit/QEMU。 |
以避免在不支持Buildx的aarch64环境下遭遇exec format error。
The text was updated successfully, but these errors were encountered: