summaryrefslogtreecommitdiffstats
path: root/src/main/docker/Dockerfile
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 /src/main/docker/Dockerfile
parent8d5d886f9290aec88300cd8daf4cbada292dcfbf (diff)
Remove force update and ca certificates
Change-Id: I632f208402250d23423e591d9fbf203bdda1275f Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
Diffstat (limited to 'src/main/docker/Dockerfile')
-rw-r--r--src/main/docker/Dockerfile3
1 files changed, 2 insertions, 1 deletions
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