From 1d58cd4430433b3b3f8dad624089a010ac5f9257 Mon Sep 17 00:00:00 2001 From: Kim Do Young Date: Tue, 30 Jul 2024 16:20:05 +0900 Subject: [PATCH] Update: docker image build and delete file; 'aiml-notebook' Issue-ID: AIMLFW-110 Change-Id: I2403d211c00cd876f7f1a162d5d9a6e8b387ff2d Signed-off-by: Kim Do Young --- bin/docker_image_build_local.sh | 8 +++++++- bin/docker_images_delete_local.sh | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/bin/docker_image_build_local.sh b/bin/docker_image_build_local.sh index d15036f..347cecc 100755 --- a/bin/docker_image_build_local.sh +++ b/bin/docker_image_build_local.sh @@ -54,7 +54,13 @@ sudo buildctl --addr=nerdctl-container://buildkitd build \ --local context=aiml-dashboard \ --output type=oci,name=aiml-dashboard:latest | sudo nerdctl load --namespace k8s.io -#docker build -f aiml-dashboard/kf-pipelines/Dockerfile -t aiml-notebook aiml-dashboard/kf-pipelines/. +sudo buildctl --addr=nerdctl-container://buildkitd build \ + --frontend dockerfile.v0 \ + --opt filename=Dockerfile \ + --local dockerfile=aiml-dashboard/kf-pipelines \ + --local context=aiml-dashboard/kf-pipelines \ + --output type=oci,name=aiml-notebook:latest | sudo nerdctl load --namespace k8s.io + #docker build -f kserve-adapter/Dockerfile -t kserve-adapter:1.0.0 kserve-adapter/. #docker build -f modelmgmtservice/Dockerfile -t modelmgmtservice:1.0.0 modelmgmtservice/. diff --git a/bin/docker_images_delete_local.sh b/bin/docker_images_delete_local.sh index 7161261..6a4e918 100755 --- a/bin/docker_images_delete_local.sh +++ b/bin/docker_images_delete_local.sh @@ -19,6 +19,6 @@ sudo nerdctl --namespace k8s.io rmi tm:latest sudo nerdctl --namespace k8s.io rmi data-extraction:latest sudo nerdctl --namespace k8s.io rmi kfadapter:latest sudo nerdctl --namespace k8s.io rmi aiml-dashboard:latest -#docker rmi aiml-notebook +sudo nerdctl --namespace k8s.io rmi aiml-notebook:latest #docker rmi kserve-adapter:1.0.0 #docker rmi modelmgmtservice:1.0.0 -- 2.16.6