summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2017-02-20 22:58:42 +0000
committerVenkata Harish K Kajur <vk250x@att.com>2017-02-20 23:00:58 +0000
commit42d14ccda0c927f685e4347e2b54c3c111bc3655 (patch)
tree8cc5ed0939627e7d4112363ae72b2c5f8dfe51de
parent8d5d886f9290aec88300cd8daf4cbada292dcfbf (diff)
Remove force update and ca certificates
Change-Id: I632f208402250d23423e591d9fbf203bdda1275f Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
-rw-r--r--pom.xml6
-rw-r--r--src/main/docker/Dockerfile3
2 files changed, 2 insertions, 7 deletions
diff --git a/pom.xml b/pom.xml
index 11c6a35..fbd564e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -160,12 +160,6 @@
<id>ecomp-snapshots</id>
<name>ECOMP Snapshot Repository</name>
<url>https://nexus.openecomp.org/content/repositories/snapshots/</url>
- <snapshots>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- <releases>
- <updatePolicy>always</updatePolicy>
- </releases>
</repository>
</repositories>
diff --git a/src/main/docker/Dockerfile b/src/main/docker/Dockerfile
index 4c2fe1a..99c34fd 100644
--- a/src/main/docker/Dockerfile
+++ b/src/main/docker/Dockerfile
@@ -31,7 +31,8 @@ RUN apt-get install -y software-properties-common
# sudo -E is required to preserve the environment
# If you remove that line, it will most like freeze at this step
-RUN sudo -E add-apt-repository ppa:openjdk-r/ppa && apt-get update && apt-get install -y openjdk-8-jdk
+RUN apt-get install --reinstall ca-certificates && \
+ sudo -E add-apt-repository ppa:openjdk-r/ppa && apt-get update && apt-get install -y openjdk-8-jdk
# Setup JAVA_HOME, this is useful for docker commandline