|
|
|
@ -26,9 +26,7 @@ if exist %df% (
|
|
|
|
|
del /f /s /q .\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:8-sw66>> Dockerfile
|
|
|
|
|
echo RUN apk add --update font-adobe-100dpi ttf-dejavu fontconfig
|
|
|
|
|
echo FROM 192.168.202.36:30002/library/openjdk:8u131-jdk-alpine >> 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
|
|
|
|
|