keybase / bot-sshca

A chat bot that can manage your team's SSH accounts
BSD 3-Clause "New" or "Revised" License
222 stars 30 forks source link

Feature Request: autobuild to dockerhub #83

Open krezreb opened 4 years ago

krezreb commented 4 years ago

It would be really nice to have an autobuild process that publishes a docker image of the Dockerfile-ca file to dockerhub. This would make deploying a lot easier and faster

blaggacao commented 4 years ago

Specially so as I found it impossible on several ARM models to successfully complete the builds... I resorted to multi-arch builds and transfer the image. With an official multi arch docker image, that would be a problem no more...

Maybe, first step is to make the tooling multi-arch, so that it's easier to figure out how to cross build the image.

The best resource I found for doing this manually was: https://medium.com/@artur.klauser/building-multi-architecture-docker-images-with-buildx-27d80f7e2408

Resource found for

There is a little elevated container which seems be doing all the qemu related stuff for people who don't want to know the details docker run --rm --privileged multiarch/qemu-user-static --reset -p yes referencedin the cited medium article...

blaggacao commented 4 years ago

Looks like this https://github.com/jitesoft/docker-keybase-sshca is the best "mirror" with aparent arm64/aarch64 support...