add caps to ruby

This commit is contained in:
Christian Mehlmauer
2017-04-27 10:55:03 +02:00
parent e93ed889df
commit eb525840cd
+2
View File
@@ -45,6 +45,8 @@ RUN chmod o+r /usr/local/bundle/gems/robots-*/lib/robots.rb
RUN adduser -g msfconsole -D $MSF_USER
RUN /usr/sbin/setcap cap_net_raw,cap_net_bind_service=+eip $(which ruby)
USER $MSF_USER
ADD ./ $APP_HOME