dockerFile updated

This commit is contained in:
lucio 2023-03-31 14:17:34 +02:00
parent ca0b020813
commit c0326edbe1
2 changed files with 13 additions and 18 deletions

View File

@ -1,7 +1,6 @@
FROM tomcat:9.0.64-jdk8-openjdk-buster
ARG nexuspath
ARG filename
ARG version
FROM tomcat:9.0.65-jdk11-openjdk-buster
ARG filename=smartgears-distribution-4.0.0-SNAPSHOT
ARG version=4.0.0-SNAPSHOT
COPY ./target/$filename.tar.gz /smartgears-distro.tar.gz
WORKDIR /
RUN tar zxvf /smartgears-distro.tar.gz

24
pom.xml
View File

@ -7,24 +7,20 @@
<groupId>org.gcube.tools</groupId>
<version>1.1.0</version>
</parent>
<groupId>org.gcube.distribution</groupId>
<artifactId>smartgears-distribution</artifactId>
<version>4.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>A distribution for the SmartGears Framework</name>
<properties>
<distroDirectory>distro</distroDirectory>
<wiki>https://wiki.gcube-system.org/gcube/SmartGears</wiki>
</properties>
<scm>
<connection>scm:git:https://code-repo.d4science.org/gCubeSystem/${project.artifactId}.git</connection>
<developerConnection>scm:git:https://code-repo.d4science.org/gCubeSystem/${project.artifactId}.git</developerConnection>
<url>https://code-repo.d4science.org/gCubeSystem/${project.artifactId}</url>
</scm>
<dependencyManagement>
<dependencies>
<dependency>
@ -36,7 +32,6 @@
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.gcube.core</groupId>
@ -87,15 +82,19 @@
<dependency>
<groupId>org.gcube.common.core</groupId>
<artifactId>legacy-is-publisher-connector</artifactId>
<version>[1.0.0-SNAPSHOT, 2.0.0-SNAPSHOT)</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.slf4j/slf4j-api -->
<dependency>
<groupId>org.gcube.resourcemanagement</groupId>
<artifactId>whn-manager</artifactId>
<version>[3.0.0-SNAPSHOT,4.0.0-SNAPSHOT)</version>
<type>war</type>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<scope>runtime</scope>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.gcube.resourcemanagement</groupId>-->
<!-- <artifactId>whn-manager</artifactId>-->
<!-- <version>[3.0.0-SNAPSHOT,4.0.0-SNAPSHOT)</version>-->
<!-- <type>war</type>-->
<!-- </dependency>-->
</dependencies>
<build>
<plugins>
@ -134,8 +133,6 @@
<stripVersion>true</stripVersion>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
@ -157,7 +154,6 @@
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>