Skip to content

Commit 283fdda

Browse files
committed
Adding Dockerfile
1 parent a023af5 commit 283fdda

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Dockerfile

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM httpd:2.4
2+
MAINTAINER William Budington <bill@eff.org>
3+
4+
RUN apt-get update && \
5+
apt-get install -y --no-install-recommends \
6+
python-crypto \
7+
python-minimal && \
8+
apt-get clean && \
9+
rm -rf /var/lib/apt/lists/* \
10+
/tmp/* \
11+
/var/tmp/*
12+
13+
ADD cryptolog.py /usr/bin/cryptolog
14+
RUN sed -i 's/^[^#]*CustomLog.\+$/CustomLog "| \/usr\/bin\/cryptolog -w \/proc\/self\/fd\/1" combined/g' /usr/local/apache2/conf/httpd.conf

0 commit comments

Comments
 (0)
close