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

57 lines
1.7 KiB
Docker
Raw Normal View History

2015-07-02 15:35:11 +00:00
#
# Dockerfile for hydra
#
FROM alpine
2017-05-07 23:05:07 +00:00
MAINTAINER kev <noreply@easypi.pro>
2015-07-02 15:35:11 +00:00
2016-11-08 12:45:04 +00: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 15:35:11 +00:00
&& echo 'will cite' | parallel --bibtex \
&& mkdir src \
2015-07-02 15:38:40 +00:00
&& cd src \
2015-07-02 15:35:11 +00:00
&& git clone https://github.com/vanhauser-thc/thc-hydra.git . \
&& ./configure --prefix=/usr \
&& make install \
&& cd .. \
&& rm -rf src \
2015-07-02 16:15:55 +00:00
&& apk del --purge apr-dev \
apr-util-dev \
build-base \
2015-07-02 16:06:55 +00:00
libidn-dev \
libssh-dev \
ncurses-dev \
mariadb-dev \
openssl-dev \
pcre-dev \
postgresql-dev \
2016-11-08 12:45:04 +00:00
subversion-dev
2015-07-02 15:35:11 +00:00
VOLUME /work
WORKDIR /work
2016-11-08 12:45:04 +00:00
2015-07-02 15:35:11 +00:00
CMD ["bash"]