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
[Docker] Support for raspberry pi OS 64 bit #4089
Comments
Updates on how to perform multi-platform builds on Docker Hub welcome (e.g. |
I have no experience with docker (this was my second time using a docker) and no programming experience at all, so I don't really know what to do with that. I'll use another rss server for now, but thank you very much for the reply. I'm looking forward to that v. 1.20! |
@PolGZ You can give a try to this unofficial Docker image, which supports more architectures https://hub.docker.com/r/linuxserver/freshrss |
How is the status? |
#!/bin/bash
if [[ $DOCKERFILE_PATH == *-ARM ]]; then
# https://github.com/balena-io/qemu
# Download a local copy of QEMU on Docker Hub build machine
curl -LSs 'https://github.com/balena-io/qemu/releases/download/v3.0.0%2Bresin/qemu-3.0.0+resin-arm.tar.gz' | tar -xzv --strip-components=1 --wildcards '*/qemu-*'
# https://github.com/multiarch/qemu-user-static
# Register qemu-*-static for all supported processors except the current one, but also remove all registered binfmt_misc before
docker run --rm --privileged multiarch/qemu-user-static:register --reset
fi
if [[ $DOCKERFILE_PATH == *-ARM64 ]]; then
# https://github.com/balena-io/qemu
# Download a local copy of QEMU on Docker Hub build machine
# qemu-7.0.0.balena1-aarch64.tar.gz
curl -LSs 'https://github.com/balena-io/qemu/releases/download/v3.0.0%2Bresin/qemu-3.0.0+resin-aarch64.tar.gz' | tar -xzv --strip-components=1 --wildcards '*/qemu-*'
# https://github.com/multiarch/qemu-user-static
# Register qemu-*-static for all supported processors except the current one, but also remove all registered binfmt_misc before
docker run --rm --privileged multiarch/qemu-user-static:register --reset
fi I made a tiny progress 🙃 By the way, I could easily create a multi arch image with GitHub Action like here. |
why the official image does not support more platform.such as arm64? |
Because as far as I know, there is no native multiplatform support in Docker Hub at the moment, and the QEMU-based workaround we have for arm32v7 is quite heavy.
If anyone becomes aware of a better method than what we are using at the moment, let us know.
It is quite easy to build locally for any platform: https://github.com/FreshRSS/FreshRSS/tree/edge/Docker#build-custom-docker-image |
Related discussion #5078 |
Fix FreshRSS#5236 Contributes to FreshRSS#4089
Just wanted to add to this request. It looks like docker.io supports multiarch under the same tag, and can be configured to build using github actions (I'm no expert in this, but have managed it with a personal project.). I just used buildx and selected the platforms I needed. Could that be offered? The arm7 works fine, but having it offered under one tag would be helpful, as would the arm64 offering. platforms: linux/amd64,linux/arm64/v8 |
@Alkarex I could provide an PR for this. Where are the images built? I could offer actions on Github. |
@b-reich Excellent 👍🏻 Images are built on Docker Hub at the moment |
why no arm46 support in docker hub? |
With the new build system, it is probably easy, and could indeed be popular addition. |
Take a look at #5808 😃 |
Still getting the same error as the OP after pulling the latest version and executing the quick run command with |
@fn-ix please try |
Tried both
freshrss:arm
andfreshrss:arm
and:latest-arm
, both get:Searching in docker-tags it doesn't seem to be an ARM64 version.
The text was updated successfully, but these errors were encountered: