You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2019/10/14 19:22:52 UTC

[GitHub] [couchdb-docker] willholley commented on issue #157: Add scripts to simplify creation of multiarch images

willholley commented on issue #157: Add scripts to simplify creation of multiarch images
URL: https://github.com/apache/couchdb-docker/pull/157#issuecomment-541870789
 
 
   @wohali did you look at [`docker buildx`](https://docs.docker.com/buildx/working-with-buildx/) at all? The main benefit to my mind is that it removes the dependency on DockerHub multi-arch conventions; any multi-arch base image can be used (UBI, for example ;) ).
   
   An example workflow is:
   
   1. Configure a builder:
   ```
   docker buildx create --name mybuilder
   docker buildx use mybuilder
   docker buildx inspect --bootstrap
   ```
   
   2. Build a multi-arch container and push to Docker Hub:
   ```
   docker buildx build --platform linux/amd64,linux/arm64,linux/ppc64le -t apache/couchdb:2.3.1 --push 2.3.1
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services