Commit 18fde009 authored by Geoff Simmons's avatar Geoff Simmons

Varnish image uses version 6.5.1.

parent c71dc0c6
FROM centos:centos7.9.2009
COPY varnishcache_varnish63.repo /etc/yum.repos.d/
COPY varnishcache_varnish65.repo /etc/yum.repos.d/
COPY uplex_varnish.repo /etc/yum.repos.d/
# yum update with --exclude=shadow-utils because the cap_set_file
......@@ -8,11 +8,11 @@ COPY uplex_varnish.repo /etc/yum.repos.d/
# docker build.
RUN yum install -y -q epel-release && yum -q makecache -y fast && \
yum update -y -q --exclude=shadow-utils && \
yum install -y -q varnish-6.3.2 && \
yum install -y -q --nogpgcheck vmod-re2-1.8.0 && \
yum install -y -q --nogpgcheck vmod-selector-1.3.1 && \
yum install -y -q --nogpgcheck vmod-dynamic-2.1.1 && \
yum install -y -q --nogpgcheck vmod-blobdigest-1.3.2 && \
yum install -y -q varnish-6.5.1 && \
yum install -y -q --nogpgcheck vmod-re2-1.10.0 && \
yum install -y -q --nogpgcheck vmod-selector-2.5.0 && \
yum install -y -q --nogpgcheck vmod-dynamic-2.3.0 && \
yum install -y -q --nogpgcheck vmod-blobdigest-1.5.0 && \
yum -q clean all && rm -rf /var/cache/yum && rm -rf /usr/share/man && \
rm -rf /usr/share/doc && rm /etc/varnish/*
......
[varnishcache_varnish63]
name=varnishcache_varnish63
baseurl=https://packagecloud.io/varnishcache/varnish63/el/7/$basearch
[varnishcache_varnish65]
name=varnishcache_varnish65
baseurl=https://packagecloud.io/varnishcache/varnish65/el/7/$basearch
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packagecloud.io/varnishcache/varnish63/gpgkey
gpgkey=https://packagecloud.io/varnishcache/varnish65/gpgkey
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300
[varnishcache_varnish63-source]
name=varnishcache_varnish63-source
baseurl=https://packagecloud.io/varnishcache/varnish63/el/7/SRPMS
[varnishcache_varnish65-source]
name=varnishcache_varnish65-source
baseurl=https://packagecloud.io/varnishcache/varnish65/el/7/SRPMS
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packagecloud.io/varnishcache/varnish63/gpgkey
gpgkey=https://packagecloud.io/varnishcache/varnish65/gpgkey
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment