Comments (10)
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 FROM php:5.6-fpm
with an equivalent arm image.
If you look at the php:5.6-fpm Dockerfile for instance, it inherits from FROM debian:jessie
. If you want to deploy to 32bit ARM servers, like Scaleway C1, then you would need to use a different base image.
You can read more here: https://github.com/docker-library/official-images#architectures-other-than-amd64
from docker.
Looks like you need to change two parts of the piwik Dockerfile
. The first line should be changed to FROM arm32v7/php:5.6-fpm
and the x86_64-linux-gnu
part needs to be changed to arm-linux-gnueabihf
for the compilation to succeed.
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.
from docker.
@gardner I want to support arm64v8 not arm32v7
from docker.
@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"
from docker.
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 arm64v8/php
. I just can't go with you any further. Good luck!
from docker.
Maybe the piwik maintainers like @michaelze or @tianon are interested in officially supporting arm.
from docker.
@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
from docker.
@gardner OK ,thanks for your help
from docker.
Hello!
Yes PR is more than welcome!
Here, can you check this section to prepare our repo for that please?
Thanks!
from docker.
@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" .
from docker.
Related Issues (20)
- The PHP version 7.4 you are using has reached its End of Life (EOL). HOT 1
- debian 12 is not support by virtuozzo HOT 1
- mailto: in crontab HOT 1
- Matomo 4.15 missing in docker hub HOT 4
- matomo:4.15.1 is missing in Docker Hub for linux/amd64 HOT 10
- Automated setup for CI tests as a service HOT 1
- Visits aren't saved behind proxy
- Missing internal network on apache example compose file
- How to Toggle off internal apache access logs HOT 1
- Add a disclaimer/caveat to the ReadMe HOT 5
- 500: Internal Server Error (Yes i read other issues) HOT 1
- Error: Matomo is already installed. Original error was "Mysqli prepare error: Table 'matomo.matomo_option' doesn't exist".
- Matomo 5.0.0 is not available on Dockerhub HOT 9
- LoginSaml Logs that the response was recieved at a different endpoint
- difference in nginx template and docker template
- Tracking code verification failed. Please verify that you have installed the code correctly
- nginx config differs from official documentation
- Version 5.0.1 not updated after docker pull HOT 2
- Matomo Web UI doesn't recognize new Version
- LOAD DATA INFILE - warning that wasn't in versions before
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker.