apt-get clean to get past timeouts 23/1823/1
authorPamela Dragosh <pdragosh@research.att.com>
Wed, 8 Mar 2017 18:58:22 +0000 (13:58 -0500)
committerPamela Dragosh <pdragosh@research.att.com>
Wed, 8 Mar 2017 18:58:30 +0000 (13:58 -0500)
Change-Id: I2774e29a928f17a3003f151822b6c17febfe08c0
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
policy-base/Dockerfile
policy-db/Dockerfile
policy-os/Dockerfile

index 2d46aba..f1ad243 100644 (file)
@@ -3,9 +3,10 @@ FROM openecomp/policy/policy-os
 
 # install MariaDB client
 RUN \
-        apt-get install -y apt-transport-https && \
+    apt-get install -y apt-transport-https && \
        apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db && \
        add-apt-repository 'deb [arch=amd64,i386,ppc64el] https://mirrors.evowise.com/mariadb/repo/10.1/ubuntu trusty main' && \
+       apt-get clean && \
        apt-get update && \
        apt-get install -y mariadb-client
        
index a74164d..290d7a0 100644 (file)
@@ -1,9 +1,11 @@
 FROM openecomp/policy/policy-os
 
 RUN \
+       apt-get clean && \
        apt-get install -y apt-transport-https && \
        apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db && \
        add-apt-repository 'deb [arch=amd64,i386,ppc64el] https://mirrors.evowise.com/mariadb/repo/10.1/ubuntu trusty main' && \
+       apt-get clean && \
        apt-get update && \
        apt-get install -y mariadb-server && \
        touch /var/lib/mysql/firstrun
index 7acbf82..8ae51d9 100644 (file)
@@ -1,11 +1,12 @@
 FROM ubuntu:14.04
 
-#RUN add-apt-repository ppa:openjdk-r/ppa
 RUN \
+       apt-get clean && \
        apt-get update && \
        apt-get install -y zip unzip curl wget ssh telnet maven && \
        apt-get install -y software-properties-common && \
        add-apt-repository ppa:openjdk-r/ppa && \
+       apt-get clean && \
        apt-get update && \
        apt-get install -y openjdk-8-jdk