From 791fce242460990fcee4bf0aab5d22ba5087e8bb Mon Sep 17 00:00:00 2001 From: Christian Mehlmauer Date: Wed, 3 Oct 2018 07:36:06 +0200 Subject: [PATCH] smaller image --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2c264a5f..e93e5b63 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,9 @@ RUN echo "gem: --no-ri --no-rdoc" > /etc/gemrc COPY . /wpscan RUN apk add --no-cache git libcurl ruby-dev libffi-dev make gcc musl-dev zlib-dev procps sqlite-dev && \ - bundle install --system --gemfile=/wpscan/Gemfile $BUNDLER_ARGS + bundle install --system --clean --no-cache --gemfile=/wpscan/Gemfile $BUNDLER_ARGS && \ + # temp fix for https://github.com/bundler/bundler/issues/6680 + rm -rf /usr/local/bundle/cache WORKDIR /wpscan RUN rake install --trace