You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Open-IM-Server/deploy_k8s/script/build_push_all_images.sh

36 lines
893 B

3 years ago
#/bin/sh
#service_source_root=(
# #api service file
# ../cmd/open_im_api/
# ../cmd/open_im_cms_api/
# #rpc service file
# ../cmd/rpc/open_im_user/
# ../cmd/rpc/open_im_friend/
# ../cmd/rpc/open_im_group/
# ../cmd/rpc/open_im_auth/
# ../cmd/rpc/open_im_admin_cms/
# ../cmd/rpc/open_im_message_cms/
# ../cmd/rpc/open_im_statistics/
# ../cmd/rpc/open_im_office/
# ../cmd/rpc/open_im_organization/
# ../cmd/rpc/open_im_conversation/
# ../cmd/rpc/open_im_cache/
# ../cmd/open_im_msg_gateway/
# ../cmd/open_im_msg_transfer/
# ../cmd/rpc/open_im_msg/
# ../cmd/open_im_push/
# ../cmd/Open-IM-SDK-Core/
# ../cmd/open_im_demo/
#)
#
3 years ago
dockerfile_list=$(ls ../dockerfiles/)
echo ${dockerfile_list}
for dockerfile in $dockerfile_list
do
echo "start to build images" $dockerfile
docker build -t $image . -f ${dockerfile}
echo "build ${dockerfile} ok"
done
echo ${#dockerfile_list[*]}
3 years ago