|
|
@ -27,9 +27,8 @@ if exist %df% (
|
|
|
|
)
|
|
|
|
)
|
|
|
|
echo --------------------------------´´½¨Dockerfile--------------------------------
|
|
|
|
echo --------------------------------´´½¨Dockerfile--------------------------------
|
|
|
|
echo FROM 192.168.202.36:30002/library/openjdk:8u131-jdk-alpine >> 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 libsapjco3.so /usr/lib/libsapjco3.so >> Dockerfile
|
|
|
|
echo ADD sapjco3.jar /home/sap/sapjco3.jar >> Dockerfile
|
|
|
|
echo ENV LD_LIBRARY_PATH /usr/lib >> Dockerfile
|
|
|
|
echo ENV LD_LIBRARY_PATH /home/sap >> Dockerfile
|
|
|
|
|
|
|
|
echo COPY %jarName% /application.jar >> Dockerfile
|
|
|
|
echo COPY %jarName% /application.jar >> Dockerfile
|
|
|
|
echo RUN echo "Asia/Shanghai" ^> /etc/timezone >> Dockerfile
|
|
|
|
echo RUN echo "Asia/Shanghai" ^> /etc/timezone >> Dockerfile
|
|
|
|
echo CMD ["java", "-jar", "-Dspring.profiles.active=%profile%", "application.jar"] >> Dockerfile
|
|
|
|
echo CMD ["java", "-jar", "-Dspring.profiles.active=%profile%", "application.jar"] >> Dockerfile
|
|
|
|