youtube-dl-server icon indicating copy to clipboard operation
youtube-dl-server copied to clipboard

ARM image

Open nemchik opened this issue 6 years ago • 7 comments

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

nemchik avatar Dec 20 '18 16:12 nemchik

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.

manbearwiz avatar Dec 20 '18 17:12 manbearwiz

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.

maximilianwollnik avatar Oct 10 '19 20:10 maximilianwollnik

I just built a new image if you want to check it out. Should be based on [email protected] and [email protected]

manbearwiz avatar Oct 11 '19 02:10 manbearwiz

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.

maximilianwollnik avatar Oct 11 '19 04:10 maximilianwollnik

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

MHCraftbeer avatar Apr 25 '20 13:04 MHCraftbeer

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.

MHCraftbeer avatar Apr 25 '20 16:04 MHCraftbeer

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

maximilianwollnik avatar Apr 25 '20 16:04 maximilianwollnik