docker error workaround

This commit is contained in:
Christian Mehlmauer
2018-02-16 17:39:20 +01:00
parent 6734e532f5
commit d19ee7a403
2 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ RUN apk update && \
&& apk del .ruby-builddeps \
&& rm -rf /var/cache/apk/*
RUN adduser -g msfconsole -D $MSF_USER
RUN adduser -g msfconsole -D $MSF_USER -u 1000
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)