mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-07-31 17:38:33 +00:00
ATS-693: Implement maven docker build
This commit is contained in:
@@ -97,10 +97,10 @@
|
||||
|
||||
|
||||
<profiles>
|
||||
<!-- <profile>
|
||||
<id>docker-it-setup</id> -->
|
||||
<profile>
|
||||
<id>docker-it-setup</id>
|
||||
<!-- raises an ActiveMq container for the Integration Tests -->
|
||||
<!-- <build>
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>io.fabric8</groupId>
|
||||
@@ -131,7 +131,7 @@
|
||||
</image>
|
||||
|
||||
<image>
|
||||
<alias>misc</alias>
|
||||
<alias>aio</alias>
|
||||
<name>${image.name}:${image.tag}</name>
|
||||
<run>
|
||||
<ports>
|
||||
@@ -158,8 +158,8 @@
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile> -->
|
||||
<!-- TODO Create docker image CAREFUL UNCOMMENTING there were existing comments
|
||||
</profile>
|
||||
|
||||
<profile>
|
||||
<id>local</id>
|
||||
<build>
|
||||
@@ -202,9 +202,9 @@
|
||||
<groupId>io.fabric8</groupId>
|
||||
<artifactId>fabric8-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<images> -->
|
||||
<images>
|
||||
<!-- QuayIO image -->
|
||||
<!-- <image>
|
||||
<image>
|
||||
<name>${image.name}:${image.tag}</name>
|
||||
<registry>${image.registry}</registry>
|
||||
<build>
|
||||
@@ -213,9 +213,9 @@
|
||||
<squash>true</squash>
|
||||
</buildOptions>
|
||||
</build>
|
||||
</image> -->
|
||||
</image>
|
||||
<!-- DockerHub image -->
|
||||
<!-- <image>
|
||||
<image>
|
||||
<name>${image.name}:${image.tag}</name>
|
||||
<build>
|
||||
<dockerFileDir>${project.basedir}/</dockerFileDir>
|
||||
@@ -255,9 +255,9 @@
|
||||
<groupId>io.fabric8</groupId>
|
||||
<artifactId>fabric8-maven-plugin</artifactId>
|
||||
<configuration combine.self="override">
|
||||
<images> -->
|
||||
<images>
|
||||
<!-- QuayIO image -->
|
||||
<!-- <image>
|
||||
<image>
|
||||
<name>${image.name}:${project.version}</name>
|
||||
<registry>${image.registry}</registry>
|
||||
<build>
|
||||
@@ -266,9 +266,9 @@
|
||||
<squash>true</squash>
|
||||
</buildOptions>
|
||||
</build>
|
||||
</image> -->
|
||||
</image>
|
||||
<!-- DockerHub image -->
|
||||
<!-- <image>
|
||||
<image>
|
||||
<name>${image.name}:${project.version}</name>
|
||||
<build>
|
||||
<dockerFileDir>${project.basedir}/</dockerFileDir>
|
||||
@@ -292,6 +292,6 @@
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</profile> -->
|
||||
</profile>
|
||||
</profiles>
|
||||
</project>
|
Reference in New Issue
Block a user