diff options
-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 |