stefansundin / rssbox

:newspaper: I consume the world via RSS feeds, and this is my attempt to keep it that way.
https://github.com/stefansundin/rssbox/discussions/64
GNU Affero General Public License v3.0
774 stars 73 forks source link

Arm docker image #48

Closed Luxtech closed 2 years ago

Luxtech commented 3 years ago

Is it possible to have an ARM image of this, so we can run it on our singelboard computers like the raspberry pi?

stefansundin commented 3 years ago

Hello.

It is definitely possible. Although right now I am relying on Docker Hub to automatically build a docker image when I push new code to GitHub, and there doesn't appear to be an easy way to have it build for ARM. According to some searching, there may be a workaround but I am not sure if I want to pollute the repository with extra files to support it... https://stackoverflow.com/questions/59850366/trying-to-automate-arm64-build-on-docker-hub

The base image that I use I am already building multi-arch images for since I build and push that one manually whenever there's a new Ruby version released. https://github.com/stefansundin/dockerfiles

At this moment though, it should be possible for you to build it yourself manually. If that's not an option then you have to wait until I revisit this later.

stefansundin commented 3 years ago

They are requiring paid plans for Docker Hub Autobuilds on June 18th. https://www.docker.com/blog/changes-to-docker-hub-autobuilds/

So at that point I have to make an alternative. I think I'll just set up my own autobuilder somehow and if I do that then I will definitely try to build it as a multi-arch image.

stefansundin commented 3 years ago

Even though it is later than June 18th, autobuilds were still happening and I couldn't find any information on why. Anyhow, I disabled the autobuilds and pushed a manually built multi-arch image that supports linux/amd64, linux/arm/v7, and linux/arm64.

I have also pushed to a public ECR registry: https://gallery.ecr.aws/stefansundin/rssbox. Not sure if I'm going to keep this one up to date.

stefansundin commented 2 years ago

Now that I'm manually building the docker image I am building for linux/amd64, linux/arm/v7, and linux/arm64. I hope that is working well for everyone.