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

58 lines
1.8 KiB
Docker
Raw Normal View History

2015-07-02 17:35:11 +02:00
#
# Dockerfile for hydra
#
2022-02-15 06:08:08 +02:00
FROM alpine:3
2017-09-17 05:01:37 +02:00
MAINTAINER EasyPi Software Foundation
2015-07-02 17:35:11 +02:00
2022-02-15 06:08:08 +02:00
ARG HYDRA_VERSION=9.3
ARG HYDRA_URL=https://github.com/vanhauser-thc/thc-hydra/archive/v${HYDRA_VERSION}.tar.gz
2017-09-17 06:11:16 +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 \
2019-06-09 02:50:43 +02:00
coreutils \
2016-11-08 14:45:04 +02:00
curl \
jq \
libidn \
libidn-dev \
libpq \
libssh \
libssh-dev \
2019-06-09 02:34:21 +02:00
mariadb-connector-c \
mariadb-connector-c-dev \
2016-11-08 14:45:04 +02:00
mariadb-dev \
ncurses \
ncurses-dev \
parallel \
pcre \
pcre-dev \
postgresql-dev \
subversion-dev \
subversion-libs \
2017-09-17 06:11:16 +02:00
tar \
2019-06-09 02:50:43 +02:00
tmux \
2019-06-09 02:34:21 +02:00
&& parallel --will-cite \
2015-07-02 17:35:11 +02:00
&& mkdir src \
2015-07-02 17:38:40 +02:00
&& cd src \
2017-09-17 06:11:16 +02:00
&& curl -sSL $HYDRA_URL | tar xz --strip 1 \
2015-07-02 17:35:11 +02:00
&& ./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 \
2019-06-09 02:34:21 +02:00
mariadb-connector-c-dev \
2015-07-02 18:06:55 +02:00
mariadb-dev \
pcre-dev \
postgresql-dev \
2016-11-08 14:45:04 +02:00
subversion-dev
2015-07-02 17:35:11 +02:00
2019-06-09 02:19:27 +02:00
ENTRYPOINT ["bash"]