Skip to content

Commit

Permalink
fix: add 'automake' to nmap Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
thelicato committed Apr 15, 2024
1 parent f0dc263 commit 6465fb6
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions tools/nmap/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,34 @@ WORKDIR /nmap

# Install dependencies
RUN apk add --update --no-cache \
ca-certificates \
libpcap \
libgcc \
libstdc++ \
openssl-dev \
libretls \
&& update-ca-certificates \
&& rm -rf /var/cache/apk/*
ca-certificates \
libpcap \
libgcc \
libstdc++ \
openssl-dev \
libretls \
&& 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 lua-dev linux-headers \
autoconf g++ libtool make subversion \
&& svn checkout $NMAP_LAST_RELEASE_URL /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/* \
/nmap*
libpcap-dev lua-dev linux-headers \
autoconf g++ libtool automake make subversion \
&& svn checkout $NMAP_LAST_RELEASE_URL /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/* \
/nmap*

ENTRYPOINT ["/usr/bin/nmap"]

0 comments on commit 6465fb6

Please sign in to comment.