mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-30 09:16:41 +02:00
56 lines
1.4 KiB
Docker
56 lines
1.4 KiB
Docker
#
|
|
# Dockerfile for hydra
|
|
#
|
|
|
|
FROM alpine
|
|
MAINTAINER kev <noreply@easypi.info>
|
|
|
|
RUN apk add -U 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 \
|
|
&& 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 apr-dev \
|
|
apr-util-dev \
|
|
build-base \
|
|
libidn-dev \
|
|
libssh-dev \
|
|
ncurses-dev \
|
|
mariadb-dev \
|
|
openssl-dev \
|
|
pcre-dev \
|
|
postgresql-dev \
|
|
subversion-dev \
|
|
&& rm -rf /var/cache/apk/*
|
|
|
|
VOLUME /work
|
|
WORKDIR /work
|
|
CMD ["bash"]
|