Skip to content

Commit

Permalink
add 16G reference gramine images
Browse files Browse the repository at this point in the history
  • Loading branch information
Uxito-Ada authored Dec 26, 2022
1 parent 962fa99 commit 4bfeaea
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion .github/workflows/manually_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,17 @@ jobs:
cd ../bigdl-gramine
openssl genrsa -3 -out enclave-key.pem 3072
### debug log image
export image=intelanalytics/bigdl-ppml-trusted-big-data-ml-python-gramine-reference-16g-debug
sudo docker build \
--build-arg BASE_IMAGE_NAME=${base_image} \
--build-arg BASE_IMAGE_TAG=${TAG} \
--build-arg SGX_MEM_SIZE=16G \
--build-arg SGX_LOG_LEVEL=debug \
-t ${image}:${TAG} -f ./Dockerfile .
sudo docker push ${image}:${TAG}
sudo docker tag ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}
sudo docker push 10.239.45.10/arda/${image}:${TAG}
sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}
export image=intelanalytics/bigdl-ppml-trusted-big-data-ml-python-gramine-reference-32g-debug
sudo docker build \
--build-arg BASE_IMAGE_NAME=${base_image} \
Expand All @@ -240,6 +251,17 @@ jobs:
sudo docker push 10.239.45.10/arda/${image}:${TAG}
sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}
##### error log image
export image=intelanalytics/bigdl-ppml-trusted-big-data-ml-python-gramine-reference-16g
sudo docker build \
--build-arg BASE_IMAGE_NAME=${base_image} \
--build-arg BASE_IMAGE_TAG=${TAG} \
--build-arg SGX_MEM_SIZE=16G \
--build-arg SGX_LOG_LEVEL=error \
-t ${image}:${TAG} -f ./Dockerfile .
sudo docker push ${image}:${TAG}
sudo docker tag ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}
sudo docker push 10.239.45.10/arda/${image}:${TAG}
sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}
export image=intelanalytics/bigdl-ppml-trusted-big-data-ml-python-gramine-reference-32g
sudo docker build \
--build-arg BASE_IMAGE_NAME=${base_image} \
Expand All @@ -265,6 +287,17 @@ jobs:
sudo docker push 10.239.45.10/arda/${image}:${TAG}
sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}
#### all log image
export image=intelanalytics/bigdl-ppml-trusted-big-data-ml-python-gramine-reference-16g-all
sudo docker build \
--build-arg BASE_IMAGE_NAME=${base_image} \
--build-arg BASE_IMAGE_TAG=${TAG} \
--build-arg SGX_MEM_SIZE=16G \
--build-arg SGX_LOG_LEVEL=all \
-t ${image}:${TAG} -f ./Dockerfile .
sudo docker push ${image}:${TAG}
sudo docker tag ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}
sudo docker push 10.239.45.10/arda/${image}:${TAG}
sudo docker rmi -f ${image}:${TAG} 10.239.45.10/arda/${image}:${TAG}
export image=intelanalytics/bigdl-ppml-trusted-big-data-ml-python-gramine-reference-32g-all
sudo docker build \
--build-arg BASE_IMAGE_NAME=${base_image} \
Expand Down Expand Up @@ -810,4 +843,4 @@ jobs:
sudo docker push 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
sudo docker rmi -f ${base_image}:${TAG}
sudo docker rmi -f ${bigdata_base_image}:${TAG} 10.239.45.10/arda/${bigdata_base_image}:${TAG}
sudo docker rmi -f ${bigdata_custom_image}:${TAG} 10.239.45.10/arda/${bigdata_custom_image}:${TAG}
sudo docker rmi -f ${bigdata_custom_image}:${TAG} 10.239.45.10/arda/${bigdata_custom_image}:${TAG}

0 comments on commit 4bfeaea

Please sign in to comment.