Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
.classpath
.settings/
target/
.project
FROM ubuntu
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>example.org</groupId>
<artifactId>docker-maven-plugin-gh1291</artifactId>
<description>Reproduce issue https://github.com/fabric8io/docker-maven-plugin/issues/1291</description>
<version>0.1.0-SNAPSHOT</version>
<build>
<plugins>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.31.0</version>
<executions>
<execution>
<id>Echo something</id>
<goals>
<goal>start</goal>
<goal>stop</goal>
</goals>
<phase>test</phase>
<configuration>
<images>
<image>
<name>ubuntu</name>
<run>
<entrypoint>
<arg>echo</arg>
</entrypoint>
<cmd>
<arg>ABC123</arg>
</cmd>
<wait>
<exit>0</exit>
<time>2000</time>
</wait>
<log>
<enabled>true</enabled>
<!-- <prefix>%a></prefix> -->
</log>
</run>
</image>
</images>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment