Open jengo opened 6 years ago
CGO_ENABLED=0 GOOS=linux GOOARCH=arm go build -a -installsuffix cgo -o kube-plex_linux_arm github.com/munnerz/kube-plex
sed -e 's@alpine:3.6@arm32v6/alpine@' -e 's@kube-plex_linux_amd64@kube-plex_linux_arm@' Dockerfile | docker build -t munnerz/kube-plex-arm -f - .
I forked the project, modified it and now using it on my arm64 device https://github.com/mauroniewolskicesca/kube-plex-arm64
With the Raspberry Pi 4 out it'd be great to have an official arm64 image.
Is there any thought of doing this? I thought I saw somewhere before you can just update the download file but I don't remember if that was this build or a different one and can't find it again.
Using @archite 's comment I was able to build for ARM, I'll post here later this week more info, wouldn't be a bad PR for this repo!
@JoseThen Wasn't understanding that comment at first, so it basically replaces the version of plex being pulled in the Docker file?
@JoseThen Wasn't understanding that comment at first, so it basically replaces the version of plex being pulled in the Docker file?
Yes, it first does a different arch build with Go and changes the image name in the dockerfile, I have time I'll post again later today
For those looking I forked this repositoryand switched it to build for ARM, you can see the main diff here: https://github.com/munnerz/kube-plex/compare/master...JoseThen:master
I have it set to push to my own docker registry. I recommend building this out on your own, because its a great learning process.
For those looking I forked this repositoryand switched it to build for ARM, you can see the main diff here: master...JoseThen:master
I have it set to push to my own docker registry. I recommend building this out on your own, because its a great learning process.
Great work @JoseThen. Does it also work for arm64 e.g. Raspberry Pi 4?
Any update on this?
I was going to do it my self, but the build instructions are missing and I am not fully sure exactly how you build this project. Ideally, it would be best to provide a multi-architecture docker image.