-
Notifications
You must be signed in to change notification settings - Fork 37
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
Feat: Tracim/Tracim docker support for non-AMD64 platform with Debian Bullseye #3985
Comments
I updated the issue with my new working arm64 build ! 🎉 PS: here a working config for using nginx as reverse-proxy (ssl is defined somewhere else), the proxy buffering is disabled for making tlm to work as expected. upstream tracim_local_apache{
server 127.0.0.1:8080;
}
server {
listen 443 http2 ssl;
listen [::]:443 http2 ssl;
server_name tracim.domainname;
include common.conf;
location / {
client_max_body_size 300M;
include proxy_params;
proxy_pass http://tracim_local_apache;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_buffering off;
}
} |
Side notes when trying to generate a full dependency docker using docker code for manual testing #4785 ):
|
Other side notes:
|
Others side notes:
|
With the changes from #4874 a build for arm64 stops as the python package |
With change from #4874, the change required to handle arm64 look like:
|
My opinion on your points:
|
I can confirm that removing vtk is enough to make arm64 docker image work. |
Done |
Feature description and goals
Currently Tracim and Tracim docker is only working/tested on AMD64 platform.
To make it functional on other plateform some change should be done, as some dependencies doesn't exist on other platform.
All these point are closely related for compatibility, so it make not much sense to split them.
Which Plateforms to support ?
Docker support multiple plateform:
https://github.com/docker-library/official-images#architectures-other-than-amd64
AMD64 is the most common and the default one for intel/amd processor, this architecture is already supported by tracim. It covered almost all server.
ARM is the challenger, there is many version:
Official debian version support armv5 (armel), arm v7(armhf), armv8 (arm64)
i386 is the 32bit version on AMD64, all current x86 processor are 64bit(AMD64), it's not very useful to support this one.
Others architectures (ppc64le,s390x,mips64le) are exotics enough to not be really useful to check now.
One other architecture that may be useful to support later is riscv64.
I do suggest to focus on armv8 and (maybe) armv7.
Current issues with arm build:
cairosvg builder for preview rely on cffi, with support only armv8 (aarch64) as arm arch https://pypi.org/project/cffi/#files-> replaced by inkscapepushpin repository doesn't handle arm architecture, we do need to use debian package for this, see Bug: pushpin sometimes does not seem to start correctly with the docker image #3372Fixed by using debian bullseye repositoryPrerequisites
These 2 PR should be merged:
Feat/4784 update dependencies #4785replaced by Bug: installation of Tracim does not work on Debian 11 (Bullseye) #4874Implemented solution:
#5081
setup_default_backend
.sh for minimal dependencies case.deprecated ticket informations:
The text was updated successfully, but these errors were encountered: