소스 검색

Remove apt trash

Gabriel 6 년 전
부모
커밋
24a41a7274
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      Dockerfile

+ 2 - 1
Dockerfile

@@ -27,7 +27,8 @@ RUN chmod 0600 /opt/keys/*; \
     sed -i 's#;listen.mode = 0660#listen.mode = 0777#g' /etc/php/7.0/fpm/pool.d/www.conf; \
     sed -i 's#pm.max_children = 5#pm.max_children = 10#g' /etc/php/7.0/fpm/pool.d/www.conf; \
     sed -i 's#;pm.max_requests = 500#pm.max_requests = 500#g' /etc/php/7.0/fpm/pool.d/www.conf; \
-    chmod 777 -R var/cache/ var/logs/ var/sessions/ 
+    chmod 777 -R var/cache/ var/logs/ var/sessions/; \
+    rm -rf /var/lib/apt/lists/*
 
 CMD rm var/cache/* -rf ;\
     composer run-script post-install-cmd --no-interaction ;\