mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
masscan
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
This commit is contained in:
commit
e744b07066
25
masscan/Dockerfile
Normal file
25
masscan/Dockerfile
Normal file
|
@ -0,0 +1,25 @@
|
|||
FROM debian:sid
|
||||
MAINTAINER Jessica Frazelle <jess@docker.com>
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
ca-certificates \
|
||||
libpcap-dev \
|
||||
--no-install-recommends \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN buildDeps=' \
|
||||
gcc \
|
||||
git \
|
||||
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/robertdavidgraham/masscan.git /usr/src/masscan \
|
||||
&& cd /usr/src/masscan \
|
||||
&& make \
|
||||
&& make install \
|
||||
&& rm -rf /usr/src/masscan \
|
||||
&& apt-get purge -y --auto-remove $buildDeps
|
||||
|
||||
ENTRYPOINT [ "masscan" ]
|
Loading…
Reference in New Issue
Block a user