about summary refs log tree commit diff
path: root/varnish/Dockerfile
blob: 4a4b7dd7e08ca9fc009c84c1d39657e69ac675c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
FROM centos:7
MAINTAINER Vincent Ambo <hej@tazj.in>

EXPOSE 6081 6082

RUN yum install -y epel-release && yum install -y varnish

ADD default.vcl /etc/varnish/default.vcl

CMD ulimit -n 131072 && \
    /usr/sbin/varnishd -F -f /etc/varnish/default.vcl -a :6081 -T :6082 -t 120