1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/hydra/Dockerfile

27 lines
572 B
Docker
Raw Normal View History

2015-07-02 17:35:11 +02:00
#
# 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 \
2015-07-02 17:38:40 +02:00
&& cd src \
2015-07-02 17:35:11 +02:00
&& 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"]