1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:15 +02:00

fix hydra

This commit is contained in:
kev 2017-09-17 12:11:16 +08:00
parent f5f55c1e6e
commit c41b608c45
2 changed files with 10 additions and 4 deletions

View File

@ -5,13 +5,15 @@
FROM alpine
MAINTAINER EasyPi Software Foundation
ENV HYDRA_VERSION=8.6
ENV HYDRA_URL=https://github.com/vanhauser-thc/thc-hydra/archive/$HYDRA_VERSION.tar.gz
RUN set -xe \
&& apk add --no-cache apr-dev \
apr-util-dev \
bash \
build-base \
curl \
git \
jq \
libidn \
libidn-dev \
@ -28,10 +30,11 @@ RUN set -xe \
postgresql-dev \
subversion-dev \
subversion-libs \
tar \
&& echo 'will cite' | parallel --bibtex \
&& mkdir src \
&& cd src \
&& git clone --depth 1 https://github.com/vanhauser-thc/thc-hydra.git . \
&& curl -sSL $HYDRA_URL | tar xz --strip 1 \
&& ./configure --prefix=/usr \
&& make install \
&& cd .. \

View File

@ -5,13 +5,15 @@
FROM easypi/alpine-arm
MAINTAINER EasyPi Software Foundation
ENV HYDRA_VERSION=8.6
ENV HYDRA_URL=https://github.com/vanhauser-thc/thc-hydra/archive/$HYDRA_VERSION.tar.gz
RUN set -xe \
&& apk add --no-cache apr-dev \
apr-util-dev \
bash \
build-base \
curl \
git \
jq \
libidn \
libidn-dev \
@ -28,10 +30,11 @@ RUN set -xe \
postgresql-dev \
subversion-dev \
subversion-libs \
tar \
&& echo 'will cite' | parallel --bibtex \
&& mkdir src \
&& cd src \
&& git clone --depth 1 https://github.com/vanhauser-thc/thc-hydra.git . \
&& curl -sSL $HYDRA_URL | tar xz --strip 1 \
&& ./configure --prefix=/usr \
&& make install \
&& cd .. \