1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 11:58:47 +00:00
dockerfiles/hydra/Dockerfile
2015-07-02 23:35:11 +08:00

27 lines
570 B
Docker

#
# Dockerfile for hydra
#
FROM alpine
MAINTAINER kev <noreply@datageek.info>
RUN apk add -U bash \
build-base \
curl \
git \
parallel \
&& echo 'will cite' | parallel --bibtex \
&& mkdir src \
&& cd src
&& git clone https://github.com/vanhauser-thc/thc-hydra.git . \
&& ./configure --prefix=/usr \
&& make install \
&& cd .. \
&& rm -rf src \
&& apk del --purge build-base \
&& rm -rf /var/cache/apk/*
VOLUME /work
WORKDIR /work
CMD ["bash"]