Remove force update and ca-certificates
[aai/aai-service.git] / ajsc-aai / src / main / resources / docker / Dockerfile
index 16a785d..02d8a54 100644 (file)
@@ -17,7 +17,7 @@ RUN apt-get update && 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 && \
+RUN apt-get install --reinstall ca-certificates && sudo -E add-apt-repository ppa:openjdk-r/ppa && \
     apt-get update && \
     apt-get -qq install -y openjdk-8-jre-headless git curl ksh