Sign inSign up

kenney/nmap-secure

By kenney

•Updated almost 7 years ago

secure instrumentisto nmap @sha256:f0c1aa8e92f750f00691036684cb797e1841e1a2fcbbbf7a6bd87affbeb74d60

Image
0

4.9K

kenney/nmap-secure repository overview

Dockerfile

# https://hub.docker.com/_/alpine
FROM alpine:3.10

MAINTAINER Instrumentisto Team <[email protected]>


# Install dependencies
RUN apk add --update --no-cache \
            ca-certificates \
            libpcap \
            libgcc libstdc++ \
            libressl2.7-libcrypto libressl2.7-libssl \
 && update-ca-certificates \
 && rm -rf /var/cache/apk/*


# Compile and install Nmap from sources
RUN apk add --update --no-cache --virtual .build-deps \
        libpcap-dev libressl-dev lua-dev linux-headers \
        autoconf g++ libtool make \
        curl \

 && curl -fL -o /tmp/nmap.tar.bz2 \
         https://nmap.org/dist/nmap-7.80.tar.bz2 \
 && tar -xjf /tmp/nmap.tar.bz2 -C /tmp \
 && cd /tmp/nmap* \
 && ./configure \
        --prefix=/usr \
        --sysconfdir=/etc \
        --mandir=/usr/share/man \
        --infodir=/usr/share/info \
        --without-zenmap \
        --without-nmap-update \
        --with-openssl=/usr/lib \
        --with-liblua=/usr/include \
 && make \
 && make install \

 && apk del .build-deps \
 && rm -rf /var/cache/apk/* \
           /tmp/nmap*
RUN apk del musl-utils

ENTRYPOINT ["/usr/bin/nmap"]

Tag summary

Content type

Image

Digest

Size

11.3 MB

Last updated

almost 7 years ago

docker pull kenney/nmap-secure