diff options
author | Venkata Harish K Kajur <vk250x@att.com> | 2017-02-20 22:58:42 +0000 |
---|---|---|
committer | Venkata Harish K Kajur <vk250x@att.com> | 2017-02-20 23:00:58 +0000 |
commit | 42d14ccda0c927f685e4347e2b54c3c111bc3655 (patch) | |
tree | 8cc5ed0939627e7d4112363ae72b2c5f8dfe51de | |
parent | 8d5d886f9290aec88300cd8daf4cbada292dcfbf (diff) |
Remove force update and ca certificates
Change-Id: I632f208402250d23423e591d9fbf203bdda1275f
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
-rw-r--r-- | pom.xml | 6 | ||||
-rw-r--r-- | src/main/docker/Dockerfile | 3 |
2 files changed, 2 insertions, 7 deletions
@@ -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 |