From 05dd1b0339234622226b076186d76e1a3387193d Mon Sep 17 00:00:00 2001 From: Mariano D'Agostino Date: Mon, 13 Nov 2017 13:37:04 -0300 Subject: [PATCH] Fixes #1247 by removing /var/log/fastlog and /var/log/lastlog --- workspace/Dockerfile-56 | 3 +++ workspace/Dockerfile-70 | 3 +++ workspace/Dockerfile-71 | 3 +++ 3 files changed, 9 insertions(+) diff --git a/workspace/Dockerfile-56 b/workspace/Dockerfile-56 index 76fbe2cc..d6f43f42 100644 --- a/workspace/Dockerfile-56 +++ b/workspace/Dockerfile-56 @@ -16,6 +16,9 @@ FROM laradock/workspace:1.9-56 MAINTAINER Mahmoud Zalt +# Remove Faillog and Lastlog to reduce the size of the final image. +RUN rm /var/log/lastlog /var/log/faillog + # #-------------------------------------------------------------------------- # Mandatory Software's Installation diff --git a/workspace/Dockerfile-70 b/workspace/Dockerfile-70 index 06421db7..34752c1e 100644 --- a/workspace/Dockerfile-70 +++ b/workspace/Dockerfile-70 @@ -16,6 +16,9 @@ FROM laradock/workspace:1.9-70 MAINTAINER Mahmoud Zalt +# Remove Faillog and Lastlog to reduce the size of the final image. +RUN rm /var/log/lastlog /var/log/faillog + # #-------------------------------------------------------------------------- # Mandatory Software's Installation diff --git a/workspace/Dockerfile-71 b/workspace/Dockerfile-71 index 98c98614..2fdfe9ff 100644 --- a/workspace/Dockerfile-71 +++ b/workspace/Dockerfile-71 @@ -16,6 +16,9 @@ FROM laradock/workspace:1.9-71 MAINTAINER Mahmoud Zalt +# Remove Faillog and Lastlog to reduce the size of the final image. +RUN rm /var/log/lastlog /var/log/faillog + # #-------------------------------------------------------------------------- # Mandatory Software's Installation