mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
add john the ripper
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
parent
652132792e
commit
ac873f4fdd
37
john/Dockerfile
Normal file
37
john/Dockerfile
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
FROM debian:sid
|
||||||
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y \
|
||||||
|
libgmp10 \
|
||||||
|
libgomp1 \
|
||||||
|
libkrb5-3 \
|
||||||
|
libnss3 \
|
||||||
|
libssl1.0.0 \
|
||||||
|
openssl \
|
||||||
|
--no-install-recommends \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
RUN buildDeps=' \
|
||||||
|
ca-certificates \
|
||||||
|
gcc \
|
||||||
|
git \
|
||||||
|
libgmp-dev \
|
||||||
|
libkrb5-dev \
|
||||||
|
libnss3-dev \
|
||||||
|
libssl-dev \
|
||||||
|
make \
|
||||||
|
' \
|
||||||
|
&& set -x \
|
||||||
|
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
|
||||||
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
|
&& git clone https://github.com/magnumripper/JohnTheRipper.git /usr/src/johntheripper \
|
||||||
|
&& cd /usr/src/johntheripper/src \
|
||||||
|
&& ./configure \
|
||||||
|
&& make \
|
||||||
|
&& cp -r ../run/* /usr/local/bin/ \
|
||||||
|
&& rm -rf /usr/src/johntheripper \
|
||||||
|
&& apt-get purge -y --auto-remove $buildDeps
|
||||||
|
|
||||||
|
WORKDIR /root
|
||||||
|
|
||||||
|
ENTRYPOINT [ "john" ]
|
Loading…
Reference in New Issue
Block a user