Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
k8s-ingress
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
uplex-varnish
k8s-ingress
Commits
58eb5f91
Commit
58eb5f91
authored
Dec 04, 2018
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Varnish container runs version 6.1.1.
parent
0aa26c7e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
5 deletions
+26
-5
Dockerfile.varnish
container/Dockerfile.varnish
+5
-5
varnishcache_varnish61.repo
container/varnishcache_varnish61.repo
+21
-0
No files found.
container/Dockerfile.varnish
View file @
58eb5f91
FROM centos:centos7
COPY varnishcache_varnish6
0
.repo /etc/yum.repos.d/
COPY varnishcache_varnish6
1
.repo /etc/yum.repos.d/
RUN yum install -y epel-release && yum update -y -q && \
yum -q makecache -y --disablerepo='*' --enablerepo='varnishcache_varnish6
0
' && \
yum -q makecache -y --disablerepo='*' --enablerepo='varnishcache_varnish6
1
' && \
yum-config-manager --add-repo https://pkg.uplex.de/rpm/7/uplex-varnish/x86_64/ && \
yum install -y -q varnish-6.
0
.1 && \
yum install -y -q --nogpgcheck vmod-re2
-1.5.1
&& \
yum install -y -q varnish-6.
1
.1 && \
yum install -y -q --nogpgcheck vmod-re2 && \
yum clean all && rm -rf /var/cache/yum
RUN mkdir /var/run/varnish
COPY bogo_backend.vcl /etc/varnish/
COPY ready.vcl /etc/varnish/
COPY notavailable.vcl /etc/varnish
COPY boot.vcl /etc/varnish
COPY start.cli /etc/varnish
RUN mkdir /var/run/varnish
ENTRYPOINT ["/usr/sbin/varnishd", "-F", "-a", ":80", "-a", "k8s=:8080", \
"-S", "/var/run/varnish/_.secret", "-T", "0.0.0.0:6081", \
"-p", "vcl_path=/etc/varnish", "-I", "/etc/varnish/start.cli", \
...
...
container/varnishcache_varnish6
0
.repo
→
container/varnishcache_varnish6
1
.repo
View file @
58eb5f91
[varnishcache_varnish6
0
]
name=varnishcache_varnish6
0
baseurl=https://packagecloud.io/varnishcache/varnish6
0
/el/7/$basearch
[varnishcache_varnish6
1
]
name=varnishcache_varnish6
1
baseurl=https://packagecloud.io/varnishcache/varnish6
1
/el/7/$basearch
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packagecloud.io/varnishcache/varnish6
0
/gpgkey
gpgkey=https://packagecloud.io/varnishcache/varnish6
1
/gpgkey
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300
[varnishcache_varnish6
0
-source]
name=varnishcache_varnish6
0
-source
baseurl=https://packagecloud.io/varnishcache/varnish6
0
/el/7/SRPMS
[varnishcache_varnish6
1
-source]
name=varnishcache_varnish6
1
-source
baseurl=https://packagecloud.io/varnishcache/varnish6
1
/el/7/SRPMS
repo_gpgcheck=1
gpgcheck=0
enabled=1
gpgkey=https://packagecloud.io/varnishcache/varnish6
0
/gpgkey
gpgkey=https://packagecloud.io/varnishcache/varnish6
1
/gpgkey
sslverify=1
sslcacert=/etc/pki/tls/certs/ca-bundle.crt
metadata_expire=300
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment