From: Kim Do Young Date: Tue, 30 Jul 2024 07:20:05 +0000 (+0900) Subject: Update: docker image build and delete file; 'aiml-notebook' X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F18%2F13218%2F1;p=aiml-fw%2Faimlfw-dep.git Update: docker image build and delete file; 'aiml-notebook' Issue-ID: AIMLFW-110 Change-Id: I2403d211c00cd876f7f1a162d5d9a6e8b387ff2d Signed-off-by: Kim Do Young --- 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