From: innii Date: Sun, 28 Jul 2024 05:22:55 +0000 (+0900) Subject: Update: docker image build and delete file; 'aiml-dashboard' X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F16%2F13216%2F2;p=aiml-fw%2Faimlfw-dep.git Update: docker image build and delete file; 'aiml-dashboard' Issue-ID: AIMLFW-110 Change-Id: I9c01545e03b5e4f94a2f8d111f8649d24c386d7b Signed-off-by: innii --- diff --git a/bin/docker_image_build_local.sh b/bin/docker_image_build_local.sh index 7bca1bb..d15036f 100755 --- a/bin/docker_image_build_local.sh +++ b/bin/docker_image_build_local.sh @@ -47,7 +47,13 @@ sudo buildctl --addr=nerdctl-container://buildkitd build \ --local context=kubeflow-adapter \ --output type=oci,name=kfadapter:latest | sudo nerdctl load --namespace k8s.io -#docker build -f aiml-dashboard/Dockerfile -t aiml-dashboard aiml-dashboard/. +sudo buildctl --addr=nerdctl-container://buildkitd build \ + --frontend dockerfile.v0 \ + --opt filename=Dockerfile \ + --local dockerfile=aiml-dashboard \ + --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/. #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 069d3b0..7161261 100755 --- a/bin/docker_images_delete_local.sh +++ b/bin/docker_images_delete_local.sh @@ -18,7 +18,7 @@ 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 -#docker rmi aiml-dashboard +sudo nerdctl --namespace k8s.io rmi aiml-dashboard:latest #docker rmi aiml-notebook #docker rmi kserve-adapter:1.0.0 #docker rmi modelmgmtservice:1.0.0