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 processors support #2

Closed
korney4eg opened this issue Aug 27, 2019 · 2 comments · Fixed by #4
Closed

arm processors support #2

korney4eg opened this issue Aug 27, 2019 · 2 comments · Fixed by #4
Labels
help wanted Extra attention is needed

Comments

@korney4eg
Copy link

Hey umputun, thank you for making rss2twitter. It works nicely.

It seems like those small kind of applications are perfectly match to raspberry pi and others. So would be nice to add docker image for those architectures.

What do you think?

@korney4eg
Copy link
Author

It seems that it's not so hard to do. Here is short example.

@umputun
Copy link
Owner

umputun commented Aug 28, 2019

I don't have pi handy and can't test it however if you would like to make an additional dockerfile for this, feel free to submit a PR.

From what I understand, this should be relatively easy:

  1. Add a new dockerfile, i.e.Dockerfile.armhf
  2. In the build stage change the target platform to arm, probably GOOS=linux GOARCH=arm GOARM=6
  3. For the second stage change base image to alpine:arm32v6
  4. Add "app" user, like baseimage does

I think this will be it and the container may work on pi.

@umputun umputun added the help wanted Extra attention is needed label Sep 17, 2019
@umputun umputun closed this as completed in #4 Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants