Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# docker pull andmyhacks/httpscreenshot

FROM ubuntu:latest

MAINTAINER Keith Hoodlet <keith@attackdriven.io>

RUN mkdir -p /etc/httpscreenshot
WORKDIR /etc/httpscreenshot

COPY . /etc/httpscreenshot/

RUN apt-get update
RUN apt-get install -y wget libfontconfig vim

RUN ./install-dependencies.sh

RUN chmod +x httpscreenshot.py
RUN ln -s /etc/httpscreenshot/httpscreenshot.py /usr/bin/httpscreenshot

RUN mkdir -p /etc/httpscreenshot/images
WORKDIR /etc/httpscreenshot/images