|
|
|
@ -15,8 +15,8 @@ currentPwd=${pwd}
|
|
|
|
|
i=0
|
|
|
|
|
for path in ${service_source_root[*]}
|
|
|
|
|
do
|
|
|
|
|
mkdir ${path}/Open-IM-Server
|
|
|
|
|
cp -r ../* ${path}/Open-IM-Server
|
|
|
|
|
cd ${path}
|
|
|
|
|
make build
|
|
|
|
|
image="${repository}/${image_names[${i}]}:$version"
|
|
|
|
|
echo ${image}
|
|
|
|
|
docker build -t $image . -f ${path}/deploy.Dockerfile
|
|
|
|
@ -25,7 +25,7 @@ do
|
|
|
|
|
echo "push ${image} success"
|
|
|
|
|
echo "=============================="
|
|
|
|
|
i=$((i + 1))
|
|
|
|
|
rm -rf ${path}/Open-IM-Server
|
|
|
|
|
cd ${currentPwd}
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
echo "build all images success"
|