Update: docker image build and delete file; 'aiml-dashboard' 16/13216/2
authorinnii <inhee7071@nate.com>
Sun, 28 Jul 2024 05:22:55 +0000 (14:22 +0900)
committerinni <inhee7071@nate.com>
Sun, 28 Jul 2024 07:07:37 +0000 (07:07 +0000)
Issue-ID: AIMLFW-110

Change-Id: I9c01545e03b5e4f94a2f8d111f8649d24c386d7b
Signed-off-by: innii <inhee7071@nate.com>
bin/docker_image_build_local.sh
bin/docker_images_delete_local.sh

index 7bca1bb..d15036f 100755 (executable)
@@ -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/.
index 069d3b0..7161261 100755 (executable)
@@ -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