From de1e6643281228fc594eb5dedda2102ffb819e2c Mon Sep 17 00:00:00 2001 From: ShiChangzhou Date: Thu, 28 Sep 2023 23:31:19 +0800 Subject: [PATCH] 1 --- op-modules/op-sap/push-sap.bat | 3 +++ 1 file changed, 3 insertions(+) diff --git a/op-modules/op-sap/push-sap.bat b/op-modules/op-sap/push-sap.bat index 73924c6c..bbf63610 100644 --- a/op-modules/op-sap/push-sap.bat +++ b/op-modules/op-sap/push-sap.bat @@ -20,6 +20,7 @@ echo echo --------------------------------mvn package...-------------------------------- ::call mvn clean package -Dmaven.test.skip=true copy .\libsapjco3.so .\target\libsapjco3.so +copy .\sapjco3.jar .\target\sapjco3.jar cd .\target SET df=Dockerfile if exist %df% ( @@ -28,6 +29,8 @@ if exist %df% ( echo --------------------------------´´½¨Dockerfile-------------------------------- echo FROM 192.168.202.36:30002/library/openjdk:8u131-jdk-alpine >> Dockerfile echo ADD libsapjco3.so /usr/lib/libsapjco3.so >> Dockerfile +echo ADD sapjco3.jar /usr/lib/sapjco3.jar >> Dockerfile +echo RUN chmod a+x -R /usr/lib/libsapjco3.so >> Dockerfile echo ENV LD_LIBRARY_PATH /usr/lib >> Dockerfile echo COPY %jarName% /application.jar >> Dockerfile echo RUN echo "Asia/Shanghai" ^> /etc/timezone >> Dockerfile