File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 3131 <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
3232 <java .version>1.8</java .version>
3333 <spring-cloud .version>Dalston.RELEASE</spring-cloud .version>
34+ <docker .image.prefix>qianlq</docker .image.prefix>
3435 </properties >
3536
3637 <dependencies >
6465 <groupId >org.springframework.boot</groupId >
6566 <artifactId >spring-boot-maven-plugin</artifactId >
6667 </plugin >
68+
69+ <plugin >
70+ <groupId >com.spotify</groupId >
71+ <artifactId >docker-maven-plugin</artifactId >
72+ <version >0.4.13</version >
73+ <configuration >
74+ <imageName >${docker.image.prefix} /${project.artifactId} </imageName >
75+ <dockerDirectory >src/main/docker</dockerDirectory >
76+ <resources >
77+ <resource >
78+ <targetPath >/</targetPath >
79+ <directory >${project.build.directory} </directory >
80+ <include >${project.build.finalName} .jar</include >
81+ </resource >
82+ </resources >
83+ </configuration >
84+ </plugin >
6785 </plugins >
6886 </build >
6987
You can’t perform that action at this time.
0 commit comments