1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 18:06:36 +02:00

upgrade hydra

This commit is contained in:
kev 2023-06-14 14:09:23 +08:00
parent 3c342098bd
commit e77023d376
4 changed files with 2 additions and 66 deletions

View File

@ -475,6 +475,7 @@ A collection of delicious docker recipes.
- [x] syncthing/syncthing
- [x] tensorflow
- [x] serving
- [x] kitabisa/teler
- [x] tile38/tile38
- [x] traccar/traccar
- [x] traefik

View File

@ -5,7 +5,7 @@
FROM alpine:3
MAINTAINER EasyPi Software Foundation
ARG HYDRA_VERSION=9.3
ARG HYDRA_VERSION=9.5
ARG HYDRA_URL=https://github.com/vanhauser-thc/thc-hydra/archive/v${HYDRA_VERSION}.tar.gz
RUN set -xe \

View File

@ -1,57 +0,0 @@
#
# Dockerfile for hydra-arm
#
FROM arm32v7/alpine
MAINTAINER EasyPi Software Foundation
ENV HYDRA_VERSION=9.0
ENV HYDRA_URL=https://github.com/vanhauser-thc/thc-hydra/archive/v$HYDRA_VERSION.tar.gz
RUN set -xe \
&& apk add --no-cache apr-dev \
apr-util-dev \
bash \
build-base \
coreutils \
curl \
jq \
libidn \
libidn-dev \
libpq \
libssh \
libssh-dev \
mariadb-connector-c \
mariadb-connector-c-dev \
mariadb-dev \
ncurses \
ncurses-dev \
parallel \
pcre \
pcre-dev \
postgresql-dev \
subversion-dev \
subversion-libs \
tar \
tmux \
&& parallel --will-cite \
&& mkdir src \
&& cd src \
&& curl -sSL $HYDRA_URL | tar xz --strip 1 \
&& ./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-connector-c-dev \
mariadb-dev \
pcre-dev \
postgresql-dev \
subversion-dev
ENTRYPOINT ["bash"]

View File

@ -1,8 +0,0 @@
hydra:
image: easypi/hydra-arm
entrypoint: sleep
command: infinity
volumes:
- ./data:/data
working_dir: /data
restart: unless-stopped