mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Try to use docker build arguments
This commit is contained in:
12
pom.xml
12
pom.xml
@@ -253,6 +253,9 @@
|
||||
<!-- Profile used only to build docker images-->
|
||||
<profile>
|
||||
<id>buildDockerImage</id>
|
||||
<properties>
|
||||
<docker.buildArg.TOMCAT_DIR>/usr/local/tomcat</docker.buildArg.TOMCAT_DIR>
|
||||
</properties>
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
@@ -289,6 +292,9 @@
|
||||
<!-- Profile used to build docker images with a specific tag and push them to the given image registry (quay.io)-->
|
||||
<profile>
|
||||
<id>internal</id>
|
||||
<properties>
|
||||
<docker.buildArg.TOMCAT_DIR>/usr/local/tomcat</docker.buildArg.TOMCAT_DIR>
|
||||
</properties>
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
@@ -327,6 +333,9 @@
|
||||
hub.docker -->
|
||||
<profile>
|
||||
<id>master</id>
|
||||
<properties>
|
||||
<docker.buildArg.TOMCAT_DIR>/usr/local/tomcat</docker.buildArg.TOMCAT_DIR>
|
||||
</properties>
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
@@ -371,6 +380,9 @@
|
||||
<!-- Profile used to build and push docker images with project.version tag to hub.docker when the enterprise deploy goal encounters-->
|
||||
<profile>
|
||||
<id>release-enterprise</id>
|
||||
<properties>
|
||||
<docker.buildArg.TOMCAT_DIR>/usr/local/tomcat</docker.buildArg.TOMCAT_DIR>
|
||||
</properties>
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
|
Reference in New Issue
Block a user