Skip to content
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

ARM image #23

Open
nemchik opened this issue Dec 20, 2018 · 7 comments
Open

ARM image #23

nemchik opened this issue Dec 20, 2018 · 7 comments

Comments

@nemchik
Copy link

nemchik commented Dec 20, 2018

Would you be able to build your image for ARM architecture as well?

@manbearwiz
Copy link
Owner

manbearwiz commented Dec 20, 2018

I don't have an arm docker server right now. If someone wants to make a PR for this I would accept it. It probably just means changing the base image (FROM line) in the dockerfile.

@maximilianwollnik
Copy link

I have tested your latest version but unfortunately it does not start on a RPI4 (Raspbian Buster with Docker 19.03.2) . Then I have checked the docker-image python:alpine again and actually this image works on my pi. So I have just cloned this repo and I have just built this image again and the container started successfully.

So not sure what is the best approach. Just rebuild the image or maybe just change the base-image to a fix version like python:alpine:3.9. For now I can ensure, that this version works on my pi.

@manbearwiz
Copy link
Owner

I just built a new image if you want to check it out. Should be based on python@3.7.4 and alpine@3.10

@maximilianwollnik
Copy link

Unfortunately it is a matter of your build-environment. It seems to be crucial, that this image must be built on all plattforms you want to support. If you can't provide this, then maybe this issue should lead to a documentation change with a hint to rebuild the image on the target plattform.

@MHCraftbeer
Copy link

@maximilianwollnik could you please describe how you got the container started on arm? How did you build the image?

@MHCraftbeer
Copy link

MHCraftbeer commented Apr 25, 2020

Well, I made the arm image on my own.
Here is the solution for my Odroid-HC2 (armhf) Openmediavault 5 (Debian 10 Buster) server:
git clone https://github.com/manbearwiz/youtube-dl-server
cd youtube-dl-server
docker build . -t local-youtube -f Dockerfile
docker run -d --net="host" --name youtube-dl -v /srv/dev-disk-by-label-WD8TB/common/Downloads:/youtube-dl --restart unless-stopped local-youtube:latest

I hope it helps fellow users.

@maximilianwollnik
Copy link

@MHCraftbeer: yeah, this is what I have done by myself. Therefore I think this issue can be closed with a documentation update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants