mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-30 05:18:11 +01:00
ce5e7a5811
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
27 lines
639 B
Docker
27 lines
639 B
Docker
FROM debian:sid
|
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
ca-certificates \
|
|
libpcap-dev \
|
|
--no-install-recommends \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN buildDeps=' \
|
|
clang \
|
|
gcc \
|
|
git \
|
|
make \
|
|
' \
|
|
&& set -x \
|
|
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
&& git clone --depth 1 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" ]
|