This commit is contained in:
Christian Mehlmauer
2017-04-21 19:45:17 +02:00
parent 67ba526b5b
commit 6b0f687abb

View File

@@ -8,9 +8,9 @@ RUN echo "gem: --no-ri --no-rdoc" > /etc/gemrc
COPY Gemfile /wpscan COPY Gemfile /wpscan
# runtime dependecies # runtime dependencies
RUN apk add --no-cache libcurl procps && \ RUN apk add --no-cache libcurl procps && \
# build dependecies # 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 libcurl ruby-dev libffi-dev make gcc musl-dev zlib-dev procps && \
bundle install --system --gemfile=/wpscan/Gemfile $BUNDLER_ARGS && \ bundle install --system --gemfile=/wpscan/Gemfile $BUNDLER_ARGS && \
apk del --no-cache build-deps apk del --no-cache build-deps