Improvements of builds 17/6617/1
authorelinuxhenrik <henrik.b.andersson@est.tech>
Tue, 24 Aug 2021 11:26:10 +0000 (13:26 +0200)
committerelinuxhenrik <henrik.b.andersson@est.tech>
Tue, 24 Aug 2021 11:47:43 +0000 (13:47 +0200)
Helm Manager Dockerfile now uses "apt get update" in the same command as it installs to avoid intermittent problems.
The Policy Agent pom now has a version for the org.codehaus.mojo:exec-maven-plugin to avoid warning during build.

Issue-ID: NONRTRIC-572
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Change-Id: I144b9e3cbbc66673ce4e71973329e08dcb54649b

helm-manager/Dockerfile
policy-agent/pom.xml

index cd44c90..96a5831 100644 (file)
@@ -20,9 +20,8 @@ FROM openjdk:11-jre-slim
 ARG JAR
 
 #Install curl
-RUN apt-get update
-RUN apt-get install -y curl
-RUN apt-get install -y wget
+RUN apt-get update && apt-get install -y curl \
+    wget
 
 #Install helm
 RUN wget -O helm.tar.gz https://get.helm.sh/helm-v3.6.1-linux-amd64.tar.gz
index e66e3c3..986b95a 100644 (file)
@@ -61,6 +61,7 @@
         <javax.ws.rs-api.version>2.1.1</javax.ws.rs-api.version>
         <sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version>
         <jacoco-maven-plugin.version>0.8.5</jacoco-maven-plugin.version>
+        <exec-maven-plugin.version>3.0.0</exec-maven-plugin.version>
     </properties>
     <dependencies>
         <dependency>
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>exec-maven-plugin</artifactId>
+                <version>${exec-maven-plugin.version}</version>
                 <executions>
                     <execution>
                         <id>git submodule update</id>