diff options
author | Kristian Lyngstol <kristian@bohemians.org> | 2016-04-13 21:35:32 +0200 |
---|---|---|
committer | Kristian Lyngstol <kristian@bohemians.org> | 2016-04-13 21:35:32 +0200 |
commit | c3f914cd2cda564150f79f810e9e68ca521fcfe2 (patch) | |
tree | c8e2e0141044b703eb91b91634cde0b1c3a1a2ac /build/test/varnish-test.Dockerfile | |
parent | 5cadb24d094f44b6aca3ccd26786702324f94afa (diff) |
test: Introduce/link varnish
Diffstat (limited to 'build/test/varnish-test.Dockerfile')
-rw-r--r-- | build/test/varnish-test.Dockerfile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/build/test/varnish-test.Dockerfile b/build/test/varnish-test.Dockerfile new file mode 100644 index 0000000..45fea79 --- /dev/null +++ b/build/test/varnish-test.Dockerfile @@ -0,0 +1,10 @@ +FROM debian:jessie +RUN apt-get update && apt-get install -y git-core +RUN apt-get -y install varnish + +RUN git clone https://github.com/tech-server/tgnms /opt/nms + +RUN rm /etc/varnish/default.vcl +RUN cp /opt/nms/extras/misc/varnish.vcl /etc/varnish/default.vcl +CMD varnishd -a :80 -f /etc/varnish/default.vcl -F +EXPOSE 80 |