|
|
|
@ -118,18 +118,15 @@
|
|
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
|
|
</plugin>
|
|
|
|
|
<!-- docker的maven插件,官网
|
|
|
|
|
https://github.com/spotify/docker-maven-plugin -->
|
|
|
|
|
<!-- docker的maven插件,官网 https://github.com/spotify/docker-maven-plugin -->
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>com.spotify</groupId>
|
|
|
|
|
<artifactId>docker-maven-plugin</artifactId>
|
|
|
|
|
<version>0.4.13</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<imageName>
|
|
|
|
|
116.62.145.60:5000/${project.artifactId}:${project.version}</imageName>
|
|
|
|
|
<imageName>116.62.145.60:5000/${project.artifactId}:${project.version}</imageName>
|
|
|
|
|
<baseImage>jdk1.8</baseImage>
|
|
|
|
|
<entryPoint>["java",
|
|
|
|
|
"-jar","/${project.build.finalName}.jar"]</entryPoint>
|
|
|
|
|
<entryPoint>["java", "-jar","/${project.build.finalName}.jar"]</entryPoint>
|
|
|
|
|
<resources>
|
|
|
|
|
<resource>
|
|
|
|
|
<targetPath>/</targetPath>
|
|
|
|
|