You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

build_all.sh 1.0 kB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #!/bin/bash
  2. build_folder="$PWD/build"
  3. imagebuild_folder="$PWD/imagebuild"
  4. yml_folder="$PWD/yml"
  5. echo "开始构建agent镜像..."
  6. cd "$imagebuild_folder"/agent || exit
  7. rm -rf agent
  8. rm -rf confs
  9. cp -r "$build_folder"/agent .
  10. cp -r "$build_folder"/confs .
  11. sh build.sh
  12. echo "agent镜像构建完成"
  13. echo "开始构建coordinator镜像..."
  14. cd "$imagebuild_folder"/coordinator || exit
  15. rm -rf coordinator
  16. rm -rf confs
  17. cp -r "$build_folder"/coordinator .
  18. cp -r "$build_folder"/confs .
  19. sh build.sh
  20. echo "coordinator镜像构建完成"
  21. echo "开始构建scanner镜像..."
  22. cd "$imagebuild_folder"/scanner || exit
  23. rm -rf scanner
  24. rm -rf confs
  25. cp -r "$build_folder"/scanner .
  26. cp -r "$build_folder"/confs .
  27. sh build.sh
  28. echo "scanner镜像构建完成"
  29. echo "开始构建client镜像..."
  30. cd "$imagebuild_folder"/client || exit
  31. rm -rf client
  32. rm -rf confs
  33. cp -r "$build_folder"/client .
  34. cp -r "$build_folder"/confs .
  35. sh build.sh
  36. echo "client镜像构建完成"
  37. echo "全部镜像构建完成"
  38. #echo "生成yaml脚本"
  39. #cd "$yml_folder" || exit
  40. #sh replace.sh

本项目旨在将云际存储公共基础设施化,使个人及企业可低门槛使用高效的云际存储服务(安装开箱即用云际存储客户端即可,无需关注其他组件的部署),同时支持用户灵活便捷定制云际存储的功能细节。