diff --git a/Dockerfile b/Dockerfile index 9b6ad7d07..b1db30c72 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,9 @@ RUN useradd -m -s /bin/bash user && \ # get security updates RUN apt-get update && apt-get upgrade -y && \ - apt-get clean && rm -rf /var/lib/apt/lists/* + apt-get clean autoclean && \ + apt-get autoremove -y && \ + rm -rf /var/lib/apt/lists/* WORKDIR $HOME