Adding impacket dependency to Dockerfile
This commit is contained in:
+2
-1
@@ -46,7 +46,7 @@ ENV METASPLOIT_GROUP=metasploit
|
|||||||
# used for the copy command
|
# used for the copy command
|
||||||
RUN addgroup -S $METASPLOIT_GROUP
|
RUN addgroup -S $METASPLOIT_GROUP
|
||||||
|
|
||||||
RUN apk add --no-cache bash sqlite-libs nmap nmap-scripts nmap-nselibs postgresql-libs python python3 ncurses libcap su-exec
|
RUN apk add --no-cache bash sqlite-libs nmap nmap-scripts nmap-nselibs postgresql-libs python python3 ncurses libcap su-exec alpine-sdk python2-dev openssl-dev py-pip
|
||||||
|
|
||||||
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 ruby)
|
||||||
RUN /usr/sbin/setcap cap_net_raw,cap_net_bind_service=+eip $(which nmap)
|
RUN /usr/sbin/setcap cap_net_raw,cap_net_bind_service=+eip $(which nmap)
|
||||||
@@ -57,6 +57,7 @@ COPY . $APP_HOME/
|
|||||||
RUN chown -R root:metasploit $APP_HOME/
|
RUN chown -R root:metasploit $APP_HOME/
|
||||||
RUN chmod 664 $APP_HOME/Gemfile.lock
|
RUN chmod 664 $APP_HOME/Gemfile.lock
|
||||||
RUN cp -f $APP_HOME/docker/database.yml $APP_HOME/config/database.yml
|
RUN cp -f $APP_HOME/docker/database.yml $APP_HOME/config/database.yml
|
||||||
|
RUN pip install impacket
|
||||||
|
|
||||||
WORKDIR $APP_HOME
|
WORKDIR $APP_HOME
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user