summaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-04-17 21:44:59 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-04-17 21:44:59 +0200
commitdb48be42c51a6bd48e04f2e5c2dc2c6abd79aec9 (patch)
treec548459e86ab429ab80ceea2741d854843921fed /pom.xml
parent70d2795a0ec9b7777d5fa65455afcc88229ef208 (diff)
Use Jib to build the Docker image.
Change-Id: Ie528da5c7d3de5f62f8005edc909da15224a87a9
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml45
1 files changed, 4 insertions, 41 deletions
diff --git a/pom.xml b/pom.xml
index 9854434..ebfaa8e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -197,6 +197,10 @@
<groupId>io.quarkus</groupId>
<artifactId>quarkus-smallrye-jwt</artifactId>
</dependency>
+ <dependency>
+ <groupId>io.quarkus</groupId>
+ <artifactId>quarkus-container-image-jib</artifactId>
+ </dependency>
<!-- JNA -->
<dependency>
@@ -348,47 +352,6 @@
</plugin>
<plugin>
- <groupId>io.fabric8</groupId>
- <artifactId>docker-maven-plugin</artifactId>
- <version>${docker-plugin.version}</version>
-
- <configuration>
- <images>
- <image>
- <name>docker.benkard.de/mulk/mulkcms2</name>
- <alias>master</alias>
- <build>
- <contextDir>${project.basedir}</contextDir>
- <dockerFile>${project.basedir}/src/main/docker/Dockerfile.jvm</dockerFile>
- <tags>
- <tag>latest</tag>
- <tag>${project.version}</tag>
- </tags>
- </build>
- </image>
- </images>
- </configuration>
-
- <executions>
- <execution>
- <id>build</id>
- <phase>install</phase>
- <goals>
- <goal>build</goal>
- </goals>
- </execution>
-
- <execution>
- <id>deploy</id>
- <phase>deploy</phase>
- <goals>
- <goal>push</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>${antrun-plugin.version}</version>
<executions>