diff --git a/Dockerfile b/Dockerfile index 6d1e7a0855..8b73d56b03 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,7 +47,7 @@ ENV METASPLOIT_GROUP=metasploit # used for the copy command RUN addgroup -S $METASPLOIT_GROUP -RUN apk add --no-cache bash sqlite-libs nmap nmap-scripts nmap-nselibs postgresql-libs python2 python3 ncurses libcap su-exec alpine-sdk python2-dev openssl-dev +RUN apk add --no-cache bash sqlite-libs nmap nmap-scripts nmap-nselibs postgresql-libs python2 python3 ncurses libcap su-exec alpine-sdk python2-dev openssl-dev nasm RUN /usr/sbin/setcap cap_net_raw,cap_net_bind_service=+eip $(which ruby) RUN /usr/sbin/setcap cap_net_raw,cap_net_bind_service=+eip $(which nmap)