فهرست منبع

Remove apt trash

Gabriel 6 سال پیش
والد
کامیت
923fd63443
3فایلهای تغییر یافته به همراه6 افزوده شده و 3 حذف شده
  1. 2 1
      1.4.0/kea-ik/Dockerfile
  2. 2 1
      1.4.0/kea-oss/Dockerfile
  3. 2 1
      1.4.0/kea-premium/Dockerfile

+ 2 - 1
1.4.0/kea-ik/Dockerfile

@@ -39,7 +39,8 @@ RUN git clone git://github.com/alanxz/rabbitmq-c.git; \
     ssh-keyscan -H -p 22  gitlag.com >> ~/.ssh/known_hosts; \
     ssh-keyscan -H -p 22  bitbucket.org >> ~/.ssh/known_hosts; \
     chmod 0600 /opt/keys/bitbucket.id_rsa; \
-    chmod +x /opt/script.sh
+    chmod +x /opt/script.sh; \
+    rm -rf /var/lib/apt/lists/*
 
 CMD /opt/script.sh
 

+ 2 - 1
1.4.0/kea-oss/Dockerfile

@@ -23,7 +23,8 @@ RUN apt-get update; \
     make; \
     make install; \
     ldconfig; \
-    chmod +x /opt/script.sh
+    chmod +x /opt/script.sh; \
+    rm -rf /var/lib/apt/lists/*
 
 CMD /opt/script.sh
 

+ 2 - 1
1.4.0/kea-premium/Dockerfile

@@ -8,4 +8,5 @@ RUN wget -O kea-subscription-1.4.0.tar.gz https://ftp.isc.org/isc/kea/private/f6
     ./configure --with-dhcp-mysql --enable-shell; \
     make; \
     make install; \
-    ldconfig
+    ldconfig; \
+    rm -rf /var/lib/apt/lists/*