fix rspecs

This commit is contained in:
Christian Mehlmauer
2017-05-02 15:37:38 +02:00
parent 5f77832386
commit 20af778fa1
4 changed files with 12 additions and 8 deletions

View File

@@ -12,7 +12,7 @@ COPY Gemfile.lock /wpscan
# runtime dependencies
RUN apk add --no-cache libcurl procps && \
# build dependencies
apk add --no-cache --virtual build-deps libcurl ruby-dev libffi-dev make gcc musl-dev zlib-dev procps && \
apk add --no-cache --virtual build-deps alpine-sdk ruby-dev libffi-dev zlib-dev && \
bundle install --system --gemfile=/wpscan/Gemfile $BUNDLER_ARGS && \
apk del --no-cache build-deps
@@ -23,5 +23,7 @@ USER wpscan
RUN /wpscan/wpscan.rb --update --verbose --no-color
WORKDIR /wpscan
ENTRYPOINT ["/wpscan/wpscan.rb"]
CMD ["--help"]