added varnish cache

This commit is contained in:
2021-04-05 02:58:09 +02:00
parent 8df5d984e0
commit 8976930c8a
2 changed files with 100 additions and 0 deletions

14
varnish-cache/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM centos:7
RUN yum update -y && yum install -y curl
RUN yum install -y epel-release
RUN curl -s https://packagecloud.io/install/repositories/varnishcache/varnish66/script.rpm.sh | bash
RUN yum install -y varnish
RUN yum install -y bind-utils
RUN yum clean all
COPY docker-entrypoint.sh /
RUN chmod +x /docker-entrypoint.sh
ENTRYPOINT ["/docker-entrypoint.sh"]