apt-get clean to get past timeouts
[policy/docker.git] / policy-db / Dockerfile
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