mirror of
https://github.com/ciur/papermerge.git
synced 2026-04-25 03:55:58 +03:00
[GH-ISSUE #580] Support for platform "linux/arm64/v8" requested to allow running Papermerge 3.0 on a Raspberry Pi #453
Labels
No labels
2.1
3.0
3.0.1
3.0.2
3.0.3
3.0.3
3.1
3.2
3.2
3.3
3.5
3.x
Fixed. Waiting for feedback.
Fixed. Waiting for feedback.
UX
Version 2.1 - alpha
XSS
announcement
beta
blocker
bug
cannot reproduce
confirmed
confirmed
critical
demo
dependencies
deployment
detchnical debt
discussion
docker
documentation
donations
duplicate
enhancement
feature request
frontend
fundraising
good first issue
good issue
help wanted
high
implemented
important
improvement
incomplete
invalid
investigation
kubernetes
low
low impact
medium
medium
medium impact
migration from 2.0
migration from 2.1
missing-language
missing-ocr-language
no-activity
note
ocr
outofscope
packaging
performance
popular request
pull-request
pypi
question
raspberry pi
roadmap
search
security
setup
status
task
technical debt
updates
user xp
version 1.4.0 - demo
will be implemented
will not be implemented
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/papermerge#453
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @veitenti on GitHub (Jan 18, 2024).
Original GitHub issue: https://github.com/ciur/papermerge/issues/580
Originally assigned to: @ciur on GitHub.
The docker images provided in the documentation do not support the platform linux/arm64/v8 at the moment. This causes the docker compose file to not work.
Reproduction steps:
docker-compose.ymlwith the content shown in the installation guide:docker compose up -d web worker redisThe requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested❌Goal:
Add support for platform "linux/arm64/v8" please 😃
@ciur commented on GitHub (Feb 17, 2024):
Here is docker file: https://github.com/papermerge/papermerge-core/blob/master/docker/prod/Dockerfile
Community if looking forward for your contributions!
@georgkrause commented on GitHub (Oct 28, 2024):
@ciur I think the best is to build images using docker buildx, there is a Github-Action for it. Would you accept a PR for this or is this call for community work meant to be read as "provide images on your own"?
@ciur commented on GitHub (Oct 28, 2024):
I don't know what to say here. First of all, PR - for which repository ? And secondly, build arm image when i.e. which event should trigger that images? And lastly, the build process will be where in the workflow chain?
To be clear:
Maybe you create a PR in https://github.com/papermerge/papermerge-core first and then let's start discussion from there.
PS: Example of image build job: https://github.com/papermerge/papermerge-core/actions/runs/11549940367/job/32143921967
It took less than 2 min. Last time when I added ARM flag for docker images - instead of 2 min, the build took about 45 min!
@georgkrause commented on GitHub (Oct 30, 2024):
@ciur Thank you for the reply!
I am sorry for picking the wrong place for the request. But before I can open a PR and do some work, it would be needed to have a discussion about what to do actually. So I think we should open the issue and eventually move it to the appropriate repository.
I'd say a new image should be built whenever a new version is release, eg a new tag created (however it fits into the current flow)
Do you do this manually or is this already in Github Actions?
I'd prefer to built multiarch images, that basically work on all platforms we want to support. Building those is indeed slower, it takes time. In order to not disturb the usual development flow, we can limit the multi arch builds to release, even though this has the danger of missing issues until the release is made.
Well, Github Actions usually makes intensive use of caching and if the first arm build is made, cache missed might increase the build time, too. We can probably invest in optimizations here, however the build time will always be slower with multiarch enabled than without. This is simply caused by the cross compilation. The alternative would be to build arm-only images with different tags, however I consider this to be not really a good solution.
@alx-xlx commented on GitHub (Nov 5, 2025):
the file doesn't exist anymore, can you please point to the right direction for the arm64 ?
@ciur commented on GitHub (Nov 6, 2025):
https://github.com/papermerge/papermerge-core/blob/master/docker/standard/Dockerfile