|
@@ -59,6 +59,8 @@ steps:
|
|
|
- cp -rv lhb-gateway/target/lib /context/
|
|
- cp -rv lhb-gateway/target/lib /context/
|
|
|
- cp -rv lhb-gateway/target/config /context/
|
|
- cp -rv lhb-gateway/target/config /context/
|
|
|
- cp /dockerfiles/template-min.dockerfile /context/Dockerfile
|
|
- cp /dockerfiles/template-min.dockerfile /context/Dockerfile
|
|
|
|
|
+ - sed -i 's/{Xms}/1024m/g' /context/Dockerfile
|
|
|
|
|
+ - sed -i 's/{Xmx}/1024m/g' /context/Dockerfile
|
|
|
- sed -i 's/{ImageName}/lhb-gateway/g' /context/Dockerfile
|
|
- sed -i 's/{ImageName}/lhb-gateway/g' /context/Dockerfile
|
|
|
- echo -e "*\n!*.jar\n!lib/\n!config/\n!Dockerfile" > /context/.dockerignore
|
|
- echo -e "*\n!*.jar\n!lib/\n!config/\n!Dockerfile" > /context/.dockerignore
|
|
|
- ls -alR /context
|
|
- ls -alR /context
|
|
@@ -154,6 +156,8 @@ steps:
|
|
|
- cp -rv lhb-quartz/target/lib /context/
|
|
- cp -rv lhb-quartz/target/lib /context/
|
|
|
- cp -rv lhb-quartz/target/config /context/
|
|
- cp -rv lhb-quartz/target/config /context/
|
|
|
- cp /dockerfiles/template-min.dockerfile /context/Dockerfile
|
|
- cp /dockerfiles/template-min.dockerfile /context/Dockerfile
|
|
|
|
|
+ - sed -i 's/{Xms}/256m/g' /context/Dockerfile
|
|
|
|
|
+ - sed -i 's/{Xmx}/256m/g' /context/Dockerfile
|
|
|
- sed -i 's/{ImageName}/lhb-quartz/g' /context/Dockerfile
|
|
- sed -i 's/{ImageName}/lhb-quartz/g' /context/Dockerfile
|
|
|
- echo -e "*\n!*.jar\n!lib/\n!config/\n!Dockerfile" > /context/.dockerignore
|
|
- echo -e "*\n!*.jar\n!lib/\n!config/\n!Dockerfile" > /context/.dockerignore
|
|
|
- ls -alR /context
|
|
- ls -alR /context
|
|
@@ -250,6 +254,8 @@ steps:
|
|
|
- cp -rv lhb-system/lhb-system-biz/target/lib /context/
|
|
- cp -rv lhb-system/lhb-system-biz/target/lib /context/
|
|
|
- cp -rv lhb-system/lhb-system-biz/target/config /context/
|
|
- cp -rv lhb-system/lhb-system-biz/target/config /context/
|
|
|
- cp /dockerfiles/template-biz-min.dockerfile /context/Dockerfile
|
|
- cp /dockerfiles/template-biz-min.dockerfile /context/Dockerfile
|
|
|
|
|
+ - sed -i 's/{Xms}/512m/g' /context/Dockerfile
|
|
|
|
|
+ - sed -i 's/{Xmx}/512m/g' /context/Dockerfile
|
|
|
- sed -i 's/{ImageName}/lhb-system/g' /context/Dockerfile
|
|
- sed -i 's/{ImageName}/lhb-system/g' /context/Dockerfile
|
|
|
- echo -e "*\n!*.jar\n!lib/\n!config/\n!Dockerfile" > /context/.dockerignore
|
|
- echo -e "*\n!*.jar\n!lib/\n!config/\n!Dockerfile" > /context/.dockerignore
|
|
|
- echo "===== 构建上下文文件列表 ====="
|
|
- echo "===== 构建上下文文件列表 ====="
|
|
@@ -348,6 +354,8 @@ steps:
|
|
|
- cp -rv lhb-basic/lhb-basic-biz/target/lib /context/
|
|
- cp -rv lhb-basic/lhb-basic-biz/target/lib /context/
|
|
|
- cp -rv lhb-basic/lhb-basic-biz/target/config /context/
|
|
- cp -rv lhb-basic/lhb-basic-biz/target/config /context/
|
|
|
- cp /dockerfiles/template-biz-min.dockerfile /context/Dockerfile
|
|
- cp /dockerfiles/template-biz-min.dockerfile /context/Dockerfile
|
|
|
|
|
+ - sed -i 's/{Xms}/512m/g' /context/Dockerfile
|
|
|
|
|
+ - sed -i 's/{Xmx}/512m/g' /context/Dockerfile
|
|
|
- sed -i 's/{ImageName}/lhb-basic/g' /context/Dockerfile
|
|
- sed -i 's/{ImageName}/lhb-basic/g' /context/Dockerfile
|
|
|
- echo -e "*\n!*.jar\n!lib/\n!config/\n!Dockerfile" > /context/.dockerignore
|
|
- echo -e "*\n!*.jar\n!lib/\n!config/\n!Dockerfile" > /context/.dockerignore
|
|
|
- echo "===== 构建上下文文件列表 ====="
|
|
- echo "===== 构建上下文文件列表 ====="
|