Build image for pipeline 40/13040/1
authorsubhash kumar singh <subh.singh@samsung.com>
Wed, 26 Jun 2024 15:09:41 +0000 (15:09 +0000)
committersubhash kumar singh <subh.singh@samsung.com>
Wed, 26 Jun 2024 15:09:41 +0000 (15:09 +0000)
Build image for pipeline using buildkit.

Change-Id: Ie015048ebfe5349404419cffcdf0780c14ff9413
Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
bin/build_default_pipeline_image.sh

index 5d985e0..2fdc025 100755 (executable)
@@ -16,4 +16,9 @@
 #
 # ==================================================================================
 
-docker build -f tools/kubeflow/Dockerfile.pipeline -t traininghost/pipelineimage:latest tools/kubeflow/.
+sudo buildctl --addr=nerdctl-container://buildkitd build \
+    --frontend dockerfile.v0 \
+    --opt filename=Dockerfile.pipeline \
+    --local dockerfile=tools/kubeflow \
+    --local context=tools/kubeflow \
+    --output type=oci,name=traininghost/pipelineimage:latest | sudo nerdctl load --namespace k8s.io
\ No newline at end of file