Browse Source

improve machete docker image download

master
filesite 5 months ago
parent
commit
8c4ed2cc6e
  1. 7
      install.sh

7
install.sh

@ -284,8 +284,11 @@ echo ""
detectDockerImageExists "filesite/machete" detectDockerImageExists "filesite/machete"
imgExist=$? imgExist=$?
if [ $imgExist -eq 0 ]; then if [ $imgExist -eq 0 ]; then
echo "下载machete的docker镜像,文件大小89M,预计需要 5 - 10 分钟..." if [ ! -f ./machete.tar ]; then
curl -o machte.tar "https://static.jialuoma.cn/docker_images/machete.tar" echo "下载machete的docker镜像,文件大小89M,预计需要 5 - 10 分钟..."
curl -o machte.tar "https://static.jialuoma.cn/docker_images/machete.tar"
fi
if [ -f ./machete.tar ]; then if [ -f ./machete.tar ]; then
sumok="eacbdfb33873e79d1eccca7fa2d0706a" sumok="eacbdfb33873e79d1eccca7fa2d0706a"
checkRes=`md5 machete.tar | grep -v grep | grep "${sumok}" | wc -l` checkRes=`md5 machete.tar | grep -v grep | grep "${sumok}" | wc -l`

Loading…
Cancel
Save