1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-12 11:14:57 +02:00
dockerfiles/hydra/Dockerfile

56 lines
1.4 KiB
Docker
Raw Normal View History

2015-07-02 17:35:11 +02:00
#
# Dockerfile for hydra
#
FROM alpine
MAINTAINER kev <noreply@datageek.info>
2015-07-02 18:15:55 +02:00
RUN apk add -U apr-dev \
apr-util-dev \
bash \
2015-07-02 17:35:11 +02:00
build-base \
curl \
git \
2015-07-02 18:06:55 +02:00
jq \
libidn \
libidn-dev \
libpq \
libssh \
libssh-dev \
mariadb-dev \
mariadb-libs \
ncurses \
ncurses-dev \
openssl \
openssl-dev \
2015-07-02 17:35:11 +02:00
parallel \
2015-07-02 18:06:55 +02:00
pcre \
pcre-dev \
postgresql-dev \
2015-07-02 18:15:55 +02:00
subversion-dev \
2015-07-02 18:22:53 +02:00
subversion-libs \
2015-07-02 17:35:11 +02:00
&& 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 \
2015-07-02 18:15:55 +02:00
&& apk del --purge apr-dev \
apr-util-dev \
build-base \
2015-07-02 18:06:55 +02:00
libidn-dev \
libssh-dev \
ncurses-dev \
mariadb-dev \
openssl-dev \
pcre-dev \
postgresql-dev \
2015-07-02 18:15:55 +02:00
subversion-dev \
2015-07-02 17:35:11 +02:00
&& rm -rf /var/cache/apk/*
VOLUME /work
WORKDIR /work
CMD ["bash"]