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

docker for raspberrypi #65

Closed
ashjas opened this issue Dec 7, 2019 · 2 comments
Closed

docker for raspberrypi #65

ashjas opened this issue Dec 7, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@ashjas
Copy link

ashjas commented Dec 7, 2019

Please consider creating a docker image for raspberrypi.

@bilde2910 bilde2910 added the enhancement New feature or request label Dec 7, 2019
@bilde2910
Copy link
Owner

It's currently possible to build the Docker image manually for arm32v7/armhf, but the Docker Hub image is amd64 only and that's not ideal. I'll see if I can somehow configure the automated Docker Hub builds to build multiarch images. This should add support for the official image for Raspberry Pi as well.

bilde2910 added a commit that referenced this issue Dec 7, 2019
bilde2910 added a commit that referenced this issue Dec 7, 2019
bilde2910 added a commit that referenced this issue Dec 7, 2019
bilde2910 added a commit that referenced this issue Dec 7, 2019
bilde2910 added a commit that referenced this issue Dec 7, 2019
bilde2910 added a commit that referenced this issue Dec 7, 2019
Permission to push was denied
@bilde2910
Copy link
Owner

bilde2910 commented Dec 7, 2019

Finally after a lot of failing builds, I've managed to set up the bilde2910/hauk:latest tag as multiarch. The Docker Hub image is now built for the following architectures:

  • amd64 - standard x86_64 servers, built natively
  • arm32v7/arm/v7 - 32-bit ARM (e.g. Raspberry Pi 2 and 3), built with QEMU
  • arm64v8/arm64 - 64-bit ARM (e.g. Raspberry Pi 4), built with QEMU

This means that the standard image on Docker Hub will now work on Raspberry Pi the same as on standard x86_64 processors. I've tested and confirmed it works on my Raspberry Pi 3B+. QEMU is used for building only, and is removed from the container image before publication on Docker Hub.

If you wish to build it yourself, you should still use the main Dockerfile in the root of the repository. The Dockerfiles in the docker directory are meant for use with Docker Hub.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants