-
Notifications
You must be signed in to change notification settings - Fork 343
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
support arm64 architecture #67
Comments
Did you try it? I am pretty sure that upstream docker images are based on x86. You should be able to fork this repo and replace If you look at the php:5.6-fpm Dockerfile for instance, it inherits from You can read more here: https://github.com/docker-library/official-images#architectures-other-than-amd64 |
Looks like you need to change two parts of the piwik I pushed an example with a readme file here: https://github.com/gardner/docker-piwik/blob/master/arm32v7/Dockerfile It doesn't really fit with the existing docker-piwik build script so I'm not sure it deserves a pull request yet. Hopefully it helps you. |
@gardner I want to support arm64v8 not arm32v7 |
@gardner I was use arm64v8/php:5.6-fpm and the x86_64-linux-gnu changed to aarch64-linux-gnueabihf,but when RUN pecl install APCu geoip was tips:No releases available for package "pecl.php.net/APCu"and No releases available for package "pecl.php.net/geoip" |
Yeah, it seems like arm support in docker really isn't great yet. I had trouble getting the fpm version working. I am not a maintainer of piwik, just an interested individual like yourself. I can't offer any more help because I don't have the time. You are on the right path with |
Maybe the piwik maintainers like @michaelze or @tianon are interested in officially supporting arm. |
@longquan7 I suggest doing tests with docker-compose and then submit a pull request to this repo. You can see examples here: https://github.com/gardner/docker-piwik/blob/master/arm32v7/docker-compose.yml |
@gardner OK ,thanks for your help |
Hello! Yes PR is more than welcome! Thanks! |
@pierreozoux When I was build on arm64 architecture, when "RUN pecl install APCu geoip",there is a problem that No releases available for package "pecl.php.net/APCu" and No releases available for package "pecl.php.net/geoip" . |
I want to build this image on arm64 architecture but I'm not sure this tar.gz file can be support arm64 architecture. So the file of tar.gz whether or not support arm64.
The text was updated successfully, but these errors were encountered: