-
Notifications
You must be signed in to change notification settings - Fork 1k
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
DockerFile Changes for Arm32 #883
Comments
Good question. I'm no Docker expert, but according to docker-library it should just auto-build for your current architecture:
The current docker image is based on |
Hmm no it definitely doesn’t pull an arm image. For other things, especially self written python services that I’ve converted to docker, I’ve used a dockerfile with replacing architecture strings and a build script to build for amd64, arm32v7 and arm64. Then push manifests. With rss-bridge I was stuck looking for the alpine php for arm to use as the base |
:(
Took me a while to understand what you mean, but I think it's clear(er) to me now. According to my research (please correct me if I'm wrong), we need to build each architecture separately (i.e. I'm pretty sure that i.e.
This might also be interesting: https://lobradov.github.io/Building-docker-multiarch-images/ I'm open to suggestions 😁 |
Yeah that building multiarch link I’ve had to read backwards and forwards
to figure out some of this. I believe your understanding is correct.
So where I’m at is working out the alpine base image I can use for arm so
that I can write the docker file for arm.
…On Fri, 26 Oct 2018 at 06:11, LogMANOriginal ***@***.***> wrote:
Hmm no it definitely doesn’t pull an arm image.
:(
For other things, especially self written python services that I’ve
converted to docker, I’ve used a dockerfile with replacing architecture
strings and a build script to build for amd64, arm32v7 and arm64. Then push
manifests.
Took me a while to understand what you mean, but I think it's clear(er) to
me now. According to my research (please correct me if I'm wrong), we need
to build each architecture separately (i.e. rss-bridge:amd64-latest,
rss-bridge:arm32v7-latest, etc...). Using some sort of script we can
automate this process somehow (pointers please).
I'm pretty sure that ulsmith/alpine-apache-php7 doesn't support multi-arch
<https://hub.docker.com/r/ulsmith/alpine-apache-php7/>, so maybe we need
to build our own packages based on the various flavors of alpine?
i.e.
- https://hub.docker.com/r/amd64/alpine/
- https://hub.docker.com/r/arm32v6/alpine/
- https://hub.docker.com/r/arm64v8/alpine/
This might also be interesting:
https://lobradov.github.io/Building-docker-multiarch-images/
I'm open to suggestions 😁
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#883 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFGkc7-c2ZfS7M7-o7n9aFX9anyKKs87ks5uofDNgaJpZM4X2eb6>
.
|
Is this still an issue? |
Not sure. I've been running on amd64 since I could never get it going on arm.....even though that's where my tt-rss is on arm. I could give it another go with the later docker file and see if I can get an arm build working. |
Looks like Docker Hub only builds You should be able to build the docker image directly on your machine. Line 1 in 7ff97c0
to |
It's working, just created a docker image for Raspberry Pi3. |
@jdckr Thanks for the bump. I somehow never noticed this issue. One of my goals while setting up the initial dockerfile was to ensure public auditable builds. There seem to be some workarounds for getting arm to work on DockerHub via build hooks so I'll take a stab at this later. |
Has there been an update on this issue since I still can't run this on my Raspberry Pi that uses ARMv7. |
@tobinstultiens Have you tried to build the image on your pi? |
Yeah, it gives me this error.
So when I have some time next week I will attempt to fix the dockerfile myself if there has been no progress. |
Have you updated the dockerfile? You need to change the base image to |
does anyone have a docker-compose to share? I really want to run this on my pi4 |
You just need to change the FROM in the dockerfile. This is the dockerfile you want:
I have personally tested this and it works. I don't know how to make it switchable on the basis of your operating system. |
So I am still pretty new to this but would it look something like this then?
|
@rastacalavera
version: '3'
services:
rss-bridge:
container_name: rss-bridge
volumes:
- ./whitelist.txt:/app/whitelist.txt
image: <image_name> # e.g. rss-bridge:local from command above
ports:
- <host_port>:80
restart: unless-stopped |
@jdckr thanks! I am up and running now |
Ok spoke too soon. It's running but there aren't any bridges listed. . . in the path there is a FOLDER that was made called whitelist.txt which was empty but the only txt file was called whitelist.default.txt so I actually don't have access to any bridges. Weird. . . |
have to same issue there is a folder called whitelist.txt but it has no file in it. If i add a file it also does not work. |
is this closed by #2104 ? EDIT: Seems to be |
yeah @em92 can be closed |
@em92 This PR can be closed. |
Any ideas what changes might be required for arm. The main issue seems to be finding a compatible arm32v7/6 alpine php image.
The text was updated successfully, but these errors were encountered: