-
Notifications
You must be signed in to change notification settings - Fork 74
Make ARM64 compatible Dockerfile #13
Comments
I don't have the ability to test this myself, but if you want to submit a pull request I am happy to take a look at it. |
It should be a one-line fix since we are pulling the If we change: to: it builds fine, but when running it,
I also tested
|
The It looks like there is a |
Here are the official |
I was able to get this working with |
Hello @larsks & @RyanRamchandar, I've been working on this project to support linux-amd64, linux-arm and linux-arm64. In such way that it supports manifest list, which makes life easier for users. Also the base image has been changed to reduce the final image size. From ubuntu:xenial to debian:stretch-slim, which reduces the compressed file size from approximately 150MB to 110MB. Please consider raymondmm/logitech-media-server. I've tested the linux-amd64 and linux-arm images on my Synology NAS and Raspberry PI 3 with docker version 18.03.1-ce by opening the webpage and it looks good, but I haven't been able to test with a real Squeezebox, because I have non available at the moment. Could you both have a look at these images, if they work for you? There is no need to explicitly use the tag for your architecture, just deploy as the example below:
Docker checks the architecture by it self with the manifest list and pulls the latest required image for it. Ofcause you may use a tag to explicit pull a certain version. Let me know what you think. Greetz, |
I think it would be neat if you were to submit these changes back as a pull request. |
Yes sure, but it would be neat to know if the images work for you. If they do, then Ill refactor the project to your docker registry and do a PR to have it merged. |
@RaymondMouthaan Very nice! This ran successfully on my arm64v8 processor (Allwinner A64). Specifically:
Do you mind sharing your Dockerfiles? Also, what is the advantage of |
@RyanRamchandar great you tested it successfully on arm64! With that in mind I can do a PR of my GitHub project (where you can find all the files, like Dockerfile) to @larsks his project. This I will do tomorrow, since I am working on a different docker project now and its almost time for bed as well ;-) Regarding --init, I just used it from the example of Lars, but for details you can check Stack Overflow. Also you can run the command without --init and see if that works too. I'll keep you guys informed about the PR. |
@RaymondMouthaan great. Normally I don't run with I really like how you used the |
@RyanRamchandar, Well a couple of weeks ago I investigated the use of manifest tool and since then I do some PRs on different kind of projects, just because it makes life easier for end-users. Glad I could help :-) |
PR has been submitted :) |
@RaymondMouthaan would you be willing to publish a build to docker hub while the PR is under review? I was not able to build the image myself (I tried on a RPi, which I assume is the problem), but would like to try out LMS in docker on my RPi. |
@RaymondMouthaan: Never mind, I just did it myself - this way I learned something About travis, and docker hub :-). For anybody interested this preliminady Image can be found here: docker hub, GitHub |
So that this can be run on ARM64 devices like the Pine64.
https://www.pine64.org/
The text was updated successfully, but these errors were encountered: