-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix Makefile and Dockerfile for idempotent images and to support…
… multi-arch builds Fixes RHOAIENG-12078 (#322) * fix: remove .git from Dockerfile Signed-off-by: Dhiraj Bokde <[email protected]> * fix: remove git check for model-registry.yaml in Makefile fix gen/openapi-server make target to generate go-server if model-registry.yaml file is newer Signed-off-by: Dhiraj Bokde <[email protected]> * fix: commit updated type_asserts.go Signed-off-by: Dhiraj Bokde <[email protected]> * fix: sort assert functions in gen_type_asserts.sh before writing them to type_asserts.go Signed-off-by: Dhiraj Bokde <[email protected]> * feat: add 'image/buildx' target to create multi-platform docker images using docker buildx, split 'build' target into 'build/prepare' and 'build/compile' to optimize multi-platform builds Signed-off-by: Dhiraj Bokde <[email protected]> * feat: add docker env variables to enable multi-platform cross compilation, optimize build steps Signed-off-by: Dhiraj Bokde <[email protected]> * fix: add podman support for buildx Signed-off-by: Dhiraj Bokde <[email protected]> * fix: remove docker builder if it already exists Signed-off-by: Dhiraj Bokde <[email protected]> --------- Signed-off-by: Dhiraj Bokde <[email protected]>
- Loading branch information
Showing
4 changed files
with
267 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.