50.docker-image-create.sh 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. set -e
  2. #---------------------------------------------------------------------
  3. #(x.1)参数
  4. args_="
  5. export basePath=/root/temp/svn
  6. # "
  7. #---------------------------------------------------------------------
  8. #(x.2)
  9. publishPath="$basePath/Publish/release/release/Station(net6.0)"
  10. dockerPath=$basePath/Publish/release/release/docker-image
  11. #---------------------------------------------------------------------
  12. echo "(x.3)copy dir"
  13. \cp -rf "$basePath/Publish/ReleaseFile/docker-image/." "$dockerPath"
  14. #---------------------------------------------------------------------
  15. echo "(x.4)copy station"
  16. \cp -rf "$publishPath/ServiceCenter/." "$dockerPath/sers/app"
  17. \cp -rf "$publishPath/Gateway/." "$dockerPath/sers-gateway/app"
  18. \cp -rf "$publishPath/Gover/." "$dockerPath/sers-gover/app"
  19. \cp -rf "$publishPath/Demo/." "$dockerPath/sers-demo/app"
  20. \cp -rf "$publishPath/Robot/." "$dockerPath/sers-demo-robot/app"
  21. \cp -rf "$basePath/Publish/release/release/压测/单体压测net6.0/ServiceCenter/." "$dockerPath/sers-demo-sersall/app"