docker-sshd icon indicating copy to clipboard operation
docker-sshd copied to clipboard

Multiarch support for arm32v7 and arm32v8

Open guysoft opened this issue 4 years ago • 3 comments

This PR adds dockerfiles that are used in this repo: https://hub.docker.com/repository/docker/guysoft/sshd

Also hooks that build a multiarch manfest for latest.

They are used to provide this service for all raspsberrypi versions and also intel.

guysoft avatar Jan 10 '21 18:01 guysoft

Seems we are both interested in multi-arch support: https://github.com/panubo/docker-sshd/issues/59

FYI, setup could be simplified by using Docker BuildX (native or with GitHub Actions). This will handle the complexity of using QEMU and allows to build for multiple architectures using a single Dockerfile.

JenswBE avatar Jun 27 '21 10:06 JenswBE

Indeed, though it depends on which platform you want to build and push AFAIK (didn't check since I posted this) there is no buildx on docker hub.

Both dockerhub and github actions are proprietary ci so I don't really think its work moving from one to the other. In a way the only one that is open is GitLab because it can be self-hosted.

guysoft avatar Jun 28 '21 21:06 guysoft

Ok, so I got something like that to work here: https://github.com/guysoft/CustomPiOS/blob/devel/.github/workflows/docker-build.yml

Had to do it because docker hub disabled their automated builds for free projects. So I have a feeling its a good path for here too.

guysoft avatar Aug 15 '21 17:08 guysoft

Thanks for this. It's taken us a while to get around to reviewing this. We've implemented arm builds in d2668332d882566d1183839397b09f78d4b24153 using the GH docker/build-push-action@v3. PR #81 will add arm32 arch support.

macropin avatar May 31 '23 05:05 macropin