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
3f72d96b
Commit
3f72d96b
authored
May 25, 2020
by
Tim Leers
Committed by
Geoff Simmons
May 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add klarlack image
parent
f3aab346
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
2 deletions
+55
-2
.gitlab-ci.yml
.gitlab-ci.yml
+2
-2
Dockerfile.varnish.bionic
container/Dockerfile.varnish.bionic
+49
-0
Makefile
container/Makefile
+4
-0
No files found.
.gitlab-ci.yml
View file @
3f72d96b
...
...
@@ -278,8 +278,8 @@ example:varnish-pod-template:
IMAGE
:
varnish
script
:
-
cd container
-
make varnish
#
-
make varnish
-bionic
# basic step for a pipeline to build the haproxy image
.build-haproxy
:
extends
:
.build-image
...
...
container/Dockerfile.varnish.bionic
0 → 100644
View file @
3f72d96b
FROM ubuntu:18.04
RUN apt-get update
RUN apt-get install -y curl
# install varnish repo
RUN curl -s https://packagecloud.io/install/repositories/varnishcache/varnish63/script.deb.sh | bash
RUN apt-get install -y varnish-dev=6.3.2-1~bionic
# add uplex repodownloag gpg and import
RUN echo "deb https://pkg.uplex.de/dpkg bionic innovation" | tee -a /etc/apt/sources.list
RUN curl -L https://pkg.uplex.de/dpkg/uplex-varnish.gpg.key | apt-key add -
RUN apt-get update
RUN apt-get install -y dcs-classifier \
libvmod-all-healthy \
libvmod-blobdigest \
libvmod-blobsynth \
libvmod-cluster \
libvmod-crypto \
libvmod-dispatch \
libvmod-dns \
libvmod-dynamic \
libvmod-frozen \
libvmod-geoip2 \
libvmod-hoailona \
libvmod-querystring \
libvmod-re \
libvmod-re2 \
libvmod-xcounter \
varnishevent \
varnish-headers \
varnish-modules \
varnish-objvar
RUN /bin/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
COPY varnishd_exec.sh /
RUN /bin/chmod 755 /varnishd_exec.sh
ENV HTTP_PORT=80 PROTO=HTTP READY_PORT=8080 SECRET_PATH=/var/run/varnish \
SECRET_FILE=_.secret ADMIN_PORT=6081 GROUP=varnish \
OFFLOAD_PATH=/var/run/offload/varnish.sock
ENTRYPOINT ["/varnishd_exec.sh"]
container/Makefile
View file @
3f72d96b
...
...
@@ -49,6 +49,10 @@ varnish: Dockerfile.varnish docker-minikube
docker build
$(DOCKER_BUILD_OPTIONS)
-t
$(IMAGE_REPO)
varnish-ingress/varnish
\
-f
Dockerfile.varnish .
varnish-bionic
:
Dockerfile.varnish.bionic docker-minikube
docker build
$(DOCKER_BUILD_OPTIONS)
-t
$(IMAGE_REPO)
varnish-ingress/varnish
\
-f
Dockerfile.varnish.bionic .
haproxy
:
Dockerfile.haproxy docker-minikube
docker build
$(DOCKER_BUILD_OPTIONS)
-t
$(IMAGE_REPO)
varnish-ingress/haproxy
\
-f
Dockerfile.haproxy .
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