about summary refs log blame commit diff
path: root/varnish/Dockerfile
blob: 54a8afe2787946bcb348ed899fff656b308a9255 (plain) (tree)
1
2
3
4
5
6
7
8


                                     
                     
 


                                                                                       



                                        

                                                              
FROM centos:7
MAINTAINER Vincent Ambo <hej@tazj.in>

EXPOSE 6081 6082 6083

RUN yum install -y epel-release && \
    rpm --nosignature -i https://repo.varnish-cache.org/redhat/varnish-4.1.el7.rpm && \
    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 -a :6083,PROXY -t 120