Page Menu
Home
GRNET
Search
Configure Global Search
Log In
Files
F1614685
Dockerfile
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Mar 21, 2:37 AM
Size
1 KB
Mime Type
text/plain
Expires
Mon, Mar 23, 2:37 AM (3 h, 51 m)
Engine
blob
Format
Raw Data
Handle
354148
Attached To
R85 security-tools
Dockerfile
View Options
# https://hub.docker.com/_/alpine
FROM alpine:3.7
# Install dependencies
RUN apk add --update --no-cache \
ca-certificates \
libpcap \
libgcc libstdc++ \
libressl2.6-libcrypto libressl2.6-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.70.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*
ENTRYPOINT ["/usr/bin/nmap"]
Event Timeline
Log In to Comment