docker-flow-letsencrypt icon indicating copy to clipboard operation
docker-flow-letsencrypt copied to clipboard

docker multiarch support

Open holgerimbery opened this issue 7 years ago • 2 comments
trafficstars

Thank you - Michael - for this docker-flow-proxy add-on please find attached a

PR: add multi architecture support via travis-ci pipeline

  • arm64v8, arm32v7 & amd64 images
  • manifest :latest with multi architecture support (no need to specify architecture during pull)

pipeline needs 4 variables on travis-ci DOCKER_USERNAME DOCKER_PASSWORD REPO IMAGE_NAME

please check output on docker-hub holgerimbery/docker-flow-letsencrypt for reference

holgerimbery avatar Nov 14 '18 16:11 holgerimbery

Thanks! I never used travis-ci before - currently this repository is build via docker hub integration. Let's hope I find some time to learn this.

hamburml avatar Nov 14 '18 19:11 hamburml

Michael,

Let's hope I find some time to learn this. this is pretty simple.

4 steps:

  • register a free account on travis-ci.org (with your GitHub Account),
  • sync your repros
  • configure 4 variables on the settings page for this repro DOCKER_USERNAME & DOCKER_PASSWORD will securely store and use your account during the process, both elements will not be visible in logfiles, etc REPO := hamburml IMAGE_NAME := docker-flow-letsencrypt
  • active the repro, and let do travis-ci the rest.

travis-ci will take the code in .travis and build/crossbuild the images, create a manifest and push all the stuff to hub.docker.com

Dockerfile.cross is the template for the Dockerfile, .travis will push travis-ci in the right direction and Makefile will take care for the build.

holgerimbery avatar Nov 14 '18 19:11 holgerimbery