From d6f44b2f4230769eabccf8281b0843361320fe72 Mon Sep 17 00:00:00 2001 From: Mostafa Hussein Date: Tue, 2 Oct 2018 15:55:35 +0200 Subject: [PATCH] Remove unnecessary commands --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6c0486b7..94511f15 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,9 +10,8 @@ COPY . /wpscan RUN chown -R wpscan:wpscan /wpscan # build dependencies -RUN apk add --no-cache --virtual build-deps git libcurl ruby-dev libffi-dev make gcc musl-dev zlib-dev procps sqlite-dev && \ - bundle install --system --gemfile=/wpscan/Gemfile $BUNDLER_ARGS && \ - apk del --no-cache build-deps +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 WORKDIR /wpscan RUN rake install --trace