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

57 lines
1.7 KiB
Docker
Raw Normal View History

2015-07-02 17:35:11 +02:00
#
# Dockerfile for hydra
#
FROM alpine
2016-05-01 03:06:20 +02:00
MAINTAINER kev <noreply@easypi.info>
2015-07-02 17:35:11 +02:00
2016-11-08 14:45:04 +02:00
RUN set -xe \
&& apk add --no-cache apr-dev \
apr-util-dev \
bash \
build-base \
curl \
git \
jq \
libidn \
libidn-dev \
libpq \
libssh \
libssh-dev \
mariadb-dev \
mariadb-libs \
ncurses \
ncurses-dev \
openssl \
openssl-dev \
parallel \
pcre \
pcre-dev \
postgresql-dev \
subversion-dev \
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 \
2016-11-08 14:45:04 +02:00
subversion-dev
2015-07-02 17:35:11 +02:00
VOLUME /work
WORKDIR /work
2016-11-08 14:45:04 +02:00
2015-07-02 17:35:11 +02:00
CMD ["bash"]