From 7e14a564efd7941d1293ca5acbd69d26fb450140 Mon Sep 17 00:00:00 2001 From: lucio lelii Date: Fri, 4 Mar 2022 14:53:17 +0100 Subject: [PATCH] update for smartgears changes --- CHANGELOG.md | 5 +++++ Dockerfile | 12 ++++++++++++ pom.xml | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 Dockerfile diff --git a/CHANGELOG.md b/CHANGELOG.md index af1746c..947972c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm # Changelog for Smartgears Distribution +## [v3.4.3-SNAPSHOT] - 2022-01-19 + +- enabled policy check on smartgears +- container configuration for test added + ## [v3.4.2] - 2021-11-08 - common-smartgrears library updated diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..35f41ee --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM tomcat:8.5.47-jdk8-openjdk + ARG nexuspath + ARG filename + ARG version + WORKDIR / + RUN curl -k $nexuspath/$filename.tar.gz --output /smartgears-distro.tar.gz + RUN tar zxvf /smartgears-distro.tar.gz + RUN export CATALINA_HOME=/usr/local/tomcat + RUN mv smartgears-distribution-$version smartgears-distribution + ENV GHN_HOME=./smartgears-distribution + RUN ./smartgears-distribution/install -s tomcat + diff --git a/pom.xml b/pom.xml index 57c0d9f..8c0306b 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ org.gcube.distribution smartgears-distribution - 3.4.2 + 3.4.3-SNAPSHOT pom A distribution for the SmartGears Framework