Fore clear temporary docker container/image.

Change ubuntu image used
This commit is contained in:
2022-07-28 18:47:12 +02:00
parent 98846b9f32
commit 0b0414764e
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ def build_docker(b3d_version: (str, str), latest: bool = False):
completed_tag_name = f'{docker_repo}:{args["b3d_vs_major"]}.{args["b3d_vs_minor"]}'
print('2 -> Build from image file')
client.images.build(path=os.getcwd(), buildargs=args, tag=completed_tag_name)
client.images.build(path=os.getcwd(), buildargs=args, tag=completed_tag_name, rm=True, forcerm=True)
print('3 -> Push the new images')
client.images.push(repository=docker_repo, tag=tag)