-
Notifications
You must be signed in to change notification settings - Fork 470
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
17-3.5/alpine/Dockerfile cannot build with arm64 ( QEMU/BUILDX ) #393
Comments
Interesting problem. Could you provide more details?
Also, what command are you using to build the Docker image?
Could you also test the Dockerfile found in the |
Hi there on my end i'm using arm64/v8 afaik Running on my raspberry pi 5 cat /etc/os-release uname -a cmd : ... Hope it helps |
@ImreSamu Hi, ImreSamu. The docker build detail was: First time I run the build cmd , it tips an error that 'cd regress' directory not exists. so I modify the instruct 'cd regress' to 'cd /usr/src/postgis/regress' then this error was gone! But I got another error, 'regress/core/binary ..Died at ../regress/run_test.pl line 979. failed (psql exited with an error: /tmp/pgis_reg/test_3_out) make: *** [runtest.mk:24: check-regress] Error 2' |
@MrLiuzy :
We are unable to fully support building on Windows or using QEMU, as there are many potential compatibility issues. If building is important, I recommend using Windows WSL2 without CPU emulation, meaning in native x86 mode. The issues I’m aware of:
About two years ago, I found the following patch ( need to adapt ) :
My personal opinion: Of course, if there's no other alternative, I would definitely use JIT=OFF. ( in test and in production ) In any case, if the test only runs with |
@ImreSamu Thanks for your reply! I know the reason for the issue. |
@MrLiuzy :
Unfortunately, what is stated in the README.md is currently true:
So there is no Arm64/AArch64 image. ( yet )
There is only a test image for Arm64 in my test system , as I mentioned in my first comment. Were you able to try that? See : https://registry.hub.docker.com/r/imresamu/postgis/tags?page=1&name=17-3.5.0-alpine3.20
|
@ImreSamu Thank you so much! |
I want to build a image with arm64, but when I run docker build, two problems arise
anyone can help?
The text was updated successfully, but these errors were encountered: