@@ -12,6 +12,29 @@ We'd love to accept your patches, but before we can do that, you must sign the C
1212## Contributing A Patch
1313
14141 . Submit an issue describing your proposed change.
15- 1 . If your proposal is accepted, and you haven't already done so, sign the Contributor License Agreement (see details above).
16- 1 . Fork the repo, develop and test your code changes. Don't forget tests!
17- 1 . Submit a pull request.
15+ 2 . If your proposal is accepted, and you haven't already done so, sign the Contributor License Agreement (see details above).
16+ 3 . Fork the repo, develop and test your code changes. Don't forget tests!
17+ 4 . Submit a pull request.
18+
19+ ## Building container images with * buildx* locally on your computer
20+
21+ First, please read the following article:
22+ [ Building Multi-Architecture Docker Images With Buildx] ( https://medium.com/@artur.klauser/building-multi-architecture-docker-images-with-buildx-27d80f7e2408 ) .
23+
24+ By default the ` Makefile ` creates a * buildx* builder dedicated to ` git-sync ` with a container driver. But it won't work out-of-the-box
25+ if you use private container images registries and * pull* private dependencies, with authentication. You can adapt the * buildx* builder
26+ for a local build.
27+
28+ For example, if you've already got a ` default ` * buildx* builder with a docker driver (with access to the host engine) you can try
29+ to run a build with the following call to ` make ` :
30+
31+ ``` sh
32+ docker login $YOUR_PRIVATE_REGISTRY
33+ docker pull $BUILD_IMAGE_IN_PRIVATE_REGISTRY
34+ docker pull $BASEIMAGE_IN_PRIVATE_REGISTRY
35+ make all-container \
36+ BUILDX_BUILDER_SKIP_CREATION=skip \
37+ BUILDX_BUILDER_NAME=default \
38+ BUILD_IMAGE=$BUILD_IMAGE_IN_PRIVATE_REGISTRY \
39+ BASEIMAGE=$BASEIMAGE_IN_PRIVATE_REGISTRY
40+ ```
0 commit comments