bot-sshca icon indicating copy to clipboard operation
bot-sshca copied to clipboard

Feature Request: autobuild to dockerhub

Open krezreb opened this issue 4 years ago • 2 comments

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

krezreb avatar Mar 20 '20 12:03 krezreb

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

  • circleci: https://github.com/varnishcache/varnish-cache/pull/3263/files (support seems still behind the concurrence)
  • github: https://github.blog/changelog/2019-12-03-github-actions-self-hosted-runners-on-arm-architectures/

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 avatar Apr 15 '20 23:04 blaggacao

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

blaggacao avatar Apr 16 '20 20:04 blaggacao