Skip to content

Commit

Permalink
refactor(container): reunite the docker images to enable usage with r…
Browse files Browse the repository at this point in the history
…un & start targets, etc. IQSS#5292
  • Loading branch information
poikilotherm committed Mar 26, 2021
1 parent 249eacf commit 7cb10c0
Showing 1 changed file with 6 additions and 23 deletions.
29 changes: 6 additions & 23 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
<flyway.version>5.2.4</flyway.version>
<jhove.version>1.20.1</jhove.version>
<jacoco.version>0.8.6</jacoco.version>
<dmp.version>0.34.1</dmp.version>
</properties>
<pluginRepositories>
<pluginRepository>
Expand Down Expand Up @@ -870,21 +869,25 @@
<id>ct</id>
<properties>
<skipUnitTests>true</skipUnitTests>
<app.build.skip>false</app.build.skip>
<solr.build.skip>false</solr.build.skip>
<app.image.name>gdcc/dataverse-k8s:${project.version}</app.image.name>
<solr.image.name>gdcc/solr-k8s:${project.version}</solr.image.name>
</properties>
<build>
<plugins>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>${dmp.version}</version>
<version>0.34.1</version>
<configuration>
<images>
<!-- Dataverse K8s image -->
<image>
<alias>dataverse</alias>
<name>${app.image.name}</name>
<build>
<skip>${app.build.skip}</skip>
<dockerFile>${project.basedir}/conf/container/Dockerfile</dockerFile>
<filter>@</filter>
<assembly>
Expand All @@ -894,32 +897,12 @@
</assembly>
</build>
</image>
</images>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>solr-ct</id>
<properties>
<skipUnitTests>true</skipUnitTests>
<solr.image.name>gdcc/solr-k8s:${project.version}</solr.image.name>
</properties>

<build>
<plugins>
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>${dmp.version}</version>
<configuration>
<images>
<!-- Solr K8s image -->
<image>
<alias>solr</alias>
<name>${solr.image.name}</name>
<build>
<skip>${solr.build.skip}</skip>
<dockerFile>${project.basedir}/conf/solr/Dockerfile</dockerFile>
<filter>@</filter>
<assembly>
Expand Down

0 comments on commit 7cb10c0

Please sign in to comment.