|
|
@@ -58,7 +58,7 @@ steps:
|
|
|
- cp -v lhb-gateway/target/*.jar /context/
|
|
|
- cp -rv lhb-gateway/target/lib /context/
|
|
|
- cp -rv lhb-gateway/target/config /context/
|
|
|
- - cp /dockerfiles/template.dockerfile /context/Dockerfile
|
|
|
+ - cp /dockerfiles/template-min.dockerfile /context/Dockerfile
|
|
|
- sed -i 's/{ImageName}/lhb-gateway/g' /context/Dockerfile
|
|
|
- echo -e "*\n!*.jar\n!lib/\n!config/\n!Dockerfile" > /context/.dockerignore
|
|
|
- ls -alR /context
|
|
|
@@ -153,7 +153,7 @@ steps:
|
|
|
- cp -v lhb-quartz/target/*.jar /context/
|
|
|
- cp -rv lhb-quartz/target/lib /context/
|
|
|
- cp -rv lhb-quartz/target/config /context/
|
|
|
- - cp /dockerfiles/template.dockerfile /context/Dockerfile
|
|
|
+ - cp /dockerfiles/template-min.dockerfile /context/Dockerfile
|
|
|
- sed -i 's/{ImageName}/lhb-quartz/g' /context/Dockerfile
|
|
|
- echo -e "*\n!*.jar\n!lib/\n!config/\n!Dockerfile" > /context/.dockerignore
|
|
|
- ls -alR /context
|
|
|
@@ -249,7 +249,7 @@ steps:
|
|
|
- cp -v lhb-system/lhb-system-biz/target/*.jar /context/
|
|
|
- cp -rv lhb-system/lhb-system-biz/target/lib /context/
|
|
|
- cp -rv lhb-system/lhb-system-biz/target/config /context/
|
|
|
- - cp /dockerfiles/template-biz.dockerfile /context/Dockerfile
|
|
|
+ - cp /dockerfiles/template-biz-min.dockerfile /context/Dockerfile
|
|
|
- sed -i 's/{ImageName}/lhb-system/g' /context/Dockerfile
|
|
|
- echo -e "*\n!*.jar\n!lib/\n!config/\n!Dockerfile" > /context/.dockerignore
|
|
|
- echo "===== 构建上下文文件列表 ====="
|
|
|
@@ -347,7 +347,7 @@ steps:
|
|
|
- cp -v lhb-basic/lhb-basic-biz/target/*.jar /context/
|
|
|
- cp -rv lhb-basic/lhb-basic-biz/target/lib /context/
|
|
|
- cp -rv lhb-basic/lhb-basic-biz/target/config /context/
|
|
|
- - cp /dockerfiles/template-biz.dockerfile /context/Dockerfile
|
|
|
+ - cp /dockerfiles/template-biz-min.dockerfile /context/Dockerfile
|
|
|
- sed -i 's/{ImageName}/lhb-basic/g' /context/Dockerfile
|
|
|
- echo -e "*\n!*.jar\n!lib/\n!config/\n!Dockerfile" > /context/.dockerignore
|
|
|
- echo "===== 构建上下文文件列表 ====="
|