From 75863611897c620501e4019266d89864ec3c010d Mon Sep 17 00:00:00 2001 From: ShiChangzhou Date: Thu, 28 Sep 2023 22:29:46 +0800 Subject: [PATCH] 1 --- op-modules/op-sap/push-sap.bat | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/op-modules/op-sap/push-sap.bat b/op-modules/op-sap/push-sap.bat index 93461c93..73924c6c 100644 --- a/op-modules/op-sap/push-sap.bat +++ b/op-modules/op-sap/push-sap.bat @@ -27,9 +27,8 @@ if exist %df% ( ) echo --------------------------------´´½¨Dockerfile-------------------------------- echo FROM 192.168.202.36:30002/library/openjdk:8u131-jdk-alpine >> Dockerfile -echo ADD libsapjco3.so /home/sap/libsapjco3.so >> Dockerfile -echo ADD sapjco3.jar /home/sap/sapjco3.jar >> Dockerfile -echo ENV LD_LIBRARY_PATH /home/sap >> Dockerfile +echo ADD libsapjco3.so /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 echo CMD ["java", "-jar", "-Dspring.profiles.active=%profile%", "application.jar"] >> Dockerfile