Update: docker image build and delete file; 'aiml-notebook' 18/13218/1
authorKim Do Young <difbfl4750@gmail.com>
Tue, 30 Jul 2024 07:20:05 +0000 (16:20 +0900)
committerKim Do Young <difbfl4750@gmail.com>
Tue, 30 Jul 2024 07:20:46 +0000 (16:20 +0900)
Issue-ID: AIMLFW-110

Change-Id: I2403d211c00cd876f7f1a162d5d9a6e8b387ff2d
Signed-off-by: Kim Do Young <difbfl4750@gmail.com>
bin/docker_image_build_local.sh
bin/docker_images_delete_local.sh

index d15036f..347cecc 100755 (executable)
@@ -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/.
 
index 7161261..6a4e918 100755 (executable)
@@ -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