Skip to content

Instantly share code, notes, and snippets.

@mikemackintosh
Last active June 17, 2019 19:02
Show Gist options
  • Select an option

  • Save mikemackintosh/fbba0fa926247fdf08bff2e9fd5cd3c1 to your computer and use it in GitHub Desktop.

Select an option

Save mikemackintosh/fbba0fa926247fdf08bff2e9fd5cd3c1 to your computer and use it in GitHub Desktop.
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