From 9eaa832ce52f17a4041efde037d716075778dcff Mon Sep 17 00:00:00 2001 From: Claus M Date: Mon, 24 Apr 2017 14:49:09 +0200 Subject: [PATCH] Created a Dockerfile --- Dockerfile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ca70d34 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,9 @@ +FROM jfloff/alpine-python:2.7-slim +MAINTAINER clma + +RUN apk add --no-cache git musl-dev linux-headers g++ python-dev +RUN ln -s /usr/include/locale.h /usr/include/xlocale.h +RUN mkdir /faker /out && git clone https://github.com/kiritbasu/Fake-Apache-Log-Generator.git /faker +RUN cd /faker && pip install -r requirements.txt +WORKDIR /faker +CMD ["python","apache-fake-log-gen.py", "-o LOG", "-p /out/web", "-n 0"]