Last active
June 17, 2019 19:02
-
-
Save mikemackintosh/fbba0fa926247fdf08bff2e9fd5cd3c1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM alpine:3.2 | |
| MAINTAINER Mike Mackintosh <mike+spam@zyp.io> | |
| RUN echo "http://dl-4.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories && \ | |
| apk add --update openvpn iptables bash git | |
| # Setup and run OpenVPN | |
| ADD ./contrib/openvpn/* /etc/openvpn/ | |
| # Clone Nikto and symlink | |
| RUN apk add --update perl | |
| RUN git clone https://github.com/sullo/nikto /opt/nikto | |
| # Add in attacks | |
| ADD ./attacks /attacks | |
| # Cleanup APK | |
| RUN rm -rf /tmp/* /var/tmp/* /var/cache/apk/* | |
| # Setup entrypoint | |
| COPY ./entrypoint.sh / | |
| RUN chmod +x /entrypoint.sh | |
| ENTRYPOINT ["/entrypoint.sh"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment