@@ -47,7 +47,11 @@ Sanitized means that, for example, the version is already checked and set depend
4747## <kbd >function</kbd > ` check_image `
4848
4949``` python
50- check_image(image: str , trivy: bool = True , exit_on_error: bool = True ) → None
50+ check_image(
51+ image: str ,
52+ trivy: bool = True ,
53+ exit_on_error: bool = True
54+ ) → CompletedProcess
5155```
5256
5357Run vulnerability checks on Dockerimage.
@@ -63,7 +67,7 @@ Run vulnerability checks on Dockerimage.
6367
6468---
6569
66- <a href =" https://github.com/ml-tooling/universal-build/blob/main/src/universal_build/helpers/build_docker.py#L62 " ><img align =" right " style =" float :right ;" src =" https://img.shields.io/badge/-source-cccccc?style=flat-square " ></a >
70+ <a href =" https://github.com/ml-tooling/universal-build/blob/main/src/universal_build/helpers/build_docker.py#L65 " ><img align =" right " style =" float :right ;" src =" https://img.shields.io/badge/-source-cccccc?style=flat-square " ></a >
6771
6872## <kbd >function</kbd > ` lint_dockerfile `
6973
@@ -83,7 +87,7 @@ Run hadolint on the Dockerfile.
8387
8488---
8589
86- <a href =" https://github.com/ml-tooling/universal-build/blob/main/src/universal_build/helpers/build_docker.py#L81 " ><img align =" right " style =" float :right ;" src =" https://img.shields.io/badge/-source-cccccc?style=flat-square " ></a >
90+ <a href =" https://github.com/ml-tooling/universal-build/blob/main/src/universal_build/helpers/build_docker.py#L84 " ><img align =" right " style =" float :right ;" src =" https://img.shields.io/badge/-source-cccccc?style=flat-square " ></a >
8791
8892## <kbd >function</kbd > ` get_image_name `
8993
@@ -110,7 +114,7 @@ Get a valid versioned image name.
110114
111115---
112116
113- <a href =" https://github.com/ml-tooling/universal-build/blob/main/src/universal_build/helpers/build_docker.py#L98 " ><img align =" right " style =" float :right ;" src =" https://img.shields.io/badge/-source-cccccc?style=flat-square " ></a >
117+ <a href =" https://github.com/ml-tooling/universal-build/blob/main/src/universal_build/helpers/build_docker.py#L101 " ><img align =" right " style =" float :right ;" src =" https://img.shields.io/badge/-source-cccccc?style=flat-square " ></a >
114118
115119## <kbd >function</kbd > ` build_docker_image `
116120
@@ -145,7 +149,7 @@ Build a docker image from a Dockerfile in the working directory.
145149
146150---
147151
148- <a href =" https://github.com/ml-tooling/universal-build/blob/main/src/universal_build/helpers/build_docker.py#L149 " ><img align =" right " style =" float :right ;" src =" https://img.shields.io/badge/-source-cccccc?style=flat-square " ></a >
152+ <a href =" https://github.com/ml-tooling/universal-build/blob/main/src/universal_build/helpers/build_docker.py#L152 " ><img align =" right " style =" float :right ;" src =" https://img.shields.io/badge/-source-cccccc?style=flat-square " ></a >
149153
150154## <kbd >function</kbd > ` release_docker_image `
151155
0 commit comments