Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] 3.0: Update Varnish Modules #20

Draft
wants to merge 3 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Use a Docker containers cluster to have a [typical architecture for eZ Platform]
- [eZ Platform Enterprise Edition](https://ez.no/Products/eZ-Platform-Enterprise-Edition) 3.0
* Reverse Proxy Cache Server:
- Varnish 6.0
- Varnish Modules 0.15
- Varnish Modules 0.16
* [Persistence Cache](https://doc.ezplatform.com/en/3.0/guide/persistence_cache/) and [Session Handling](https://doc.ezplatform.com/en/3.0/guide/sessions/) Servers:
- Redis 3.2
* DataBase Server:
Expand Down
9 changes: 5 additions & 4 deletions docker/varnish/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ LABEL description="Varnish 6.0 with Varnish Modules for eZ Platform usage"

#ENV HTTPCACHE_VARNISH_INVALIDATE_TOKEN=docker

# Varnish Modules — https://github.com/varnish/varnish-modules/blob/0.15.0/README.rst#installation
ARG VMODS_VERSION=0.15.0
RUN apt-get update && apt-get install -y make pkg-config varnish-dev wget \
&& wget --quiet https://download.varnish-software.com/varnish-modules/varnish-modules-${VMODS_VERSION}.tar.gz \
# Varnish Modules — https://github.com/varnish/varnish-modules/blob/0.16.0/README.rst#installation
ARG VMODS_VERSION=0.16.0
RUN apt-get update && apt-get install -y autotools-dev automake libtool m4 make pkg-config varnish-dev wget \
&& wget --quiet https://github.com/varnish/varnish-modules/archive/${VMODS_VERSION}.tar.gz -O varnish-modules-${VMODS_VERSION}.tar.gz \
&& tar -xzf varnish-modules-${VMODS_VERSION}.tar.gz \
&& cd varnish-modules-${VMODS_VERSION} \
&& ./bootstrap \
&& ./configure \
&& make && make install \
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This make doesn't work.
I should wait for a release in https://download.varnish-software.com/varnish-modules/

&& cd .. \
Expand Down