Commit 3f72d96b authored by Tim Leers's avatar Tim Leers Committed by Geoff Simmons

add klarlack image

parent f3aab346
......@@ -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
......
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"]
......@@ -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 .
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