Created
September 21, 2021 17:42
-
-
Save nmoadev/ab1597075a29f93e54c610ac9b93b986 to your computer and use it in GitHub Desktop.
Reproducing docker-maven-plugin short-lived container issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com</groupId> | |
<artifactId>foobar</artifactId> | |
<version>0.0.0</version> | |
<packaging>pom</packaging> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>io.fabric8</groupId> | |
<artifactId>docker-maven-plugin</artifactId> | |
<version>0.37.0</version> | |
<executions> | |
<execution> | |
<id>start-image</id> | |
<phase>package</phase> | |
<goals> | |
<goal>start</goal> | |
</goals> | |
</execution> | |
</executions> | |
<configuration> | |
<images> | |
<image> | |
<name>alpine</name> | |
<alias>buildimage</alias> | |
<run> | |
<cmd>echo 0</cmd> | |
<autoRemove>true</autoRemove> | |
<log> | |
<enabled>true</enabled> | |
</log> | |
<wait> | |
<exit>0</exit> | |
</wait> | |
</run> | |
</image> | |
</images> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment