From 836297569176395a5d3147f42da84fc2ebf556eb Mon Sep 17 00:00:00 2001 From: Christian Mehlmauer Date: Wed, 2 Nov 2016 21:52:14 +0100 Subject: [PATCH] apt tweak --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index abd2b73d..5c070970 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,9 @@ FROM ruby:2.3-slim MAINTAINER WPScan Team RUN DEBIAN_FRONTEND=noninteractive && \ + rm -rf /var/lib/apt/lists/* && \ apt-get update && \ - apt-get -qq -y install curl git ca-certificates openssl libcurl4-openssl-dev libxml2 libxml2-dev libxslt1-dev build-essential procps + apt-get --no-install-recommends -qq -y install curl git ca-certificates openssl libcurl4-openssl-dev libxml2 libxml2-dev libxslt1-dev build-essential procps RUN useradd -d /wpscan wpscan RUN echo "gem: --no-ri --no-rdoc" > /etc/gemrc