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

add hydra-arm

This commit is contained in:
kev 2017-09-17 11:01:37 +08:00
parent 5f25068d5a
commit f5f55c1e6e
2 changed files with 57 additions and 7 deletions

View File

@ -3,7 +3,7 @@
#
FROM alpine
MAINTAINER kev <noreply@easypi.pro>
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apk add --no-cache apr-dev \
@ -22,8 +22,6 @@ RUN set -xe \
mariadb-libs \
ncurses \
ncurses-dev \
openssl \
openssl-dev \
parallel \
pcre \
pcre-dev \
@ -33,7 +31,7 @@ RUN set -xe \
&& echo 'will cite' | parallel --bibtex \
&& mkdir src \
&& cd src \
&& git clone https://github.com/vanhauser-thc/thc-hydra.git . \
&& git clone --depth 1 https://github.com/vanhauser-thc/thc-hydra.git . \
&& ./configure --prefix=/usr \
&& make install \
&& cd .. \
@ -45,12 +43,11 @@ RUN set -xe \
libssh-dev \
ncurses-dev \
mariadb-dev \
openssl-dev \
pcre-dev \
postgresql-dev \
subversion-dev
VOLUME /work
WORKDIR /work
VOLUME /hydra
WORKDIR /hydra
CMD ["bash"]

53
hydra/arm/Dockerfile Normal file
View File

@ -0,0 +1,53 @@
#
# Dockerfile for hydra-arm
#
FROM easypi/alpine-arm
MAINTAINER EasyPi Software Foundation
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 \
parallel \
pcre \
pcre-dev \
postgresql-dev \
subversion-dev \
subversion-libs \
&& echo 'will cite' | parallel --bibtex \
&& mkdir src \
&& cd src \
&& git clone --depth 1 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 \
pcre-dev \
postgresql-dev \
subversion-dev
VOLUME /hydra
WORKDIR /hydra
CMD ["bash"]