Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<plugin>
<groupId>org.jolokia</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>0.12.0</version>
<configuration>
<images>
<image>
<name>${docker.image}</name>
<build>
<from>fabric8/java</from>
<assembly>
<descriptorRef>artifact-with-dependencies</descriptorRef>
</assembly>
<env>
<MAIN>org.jboss.weld.environment.se.StartMain</MAIN>
</env>
</build>
<run>
<ports>
<port>8080:8080</port>
</ports>
</run>
</image>
</images>
</configuration>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment