Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/4.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
mnocon committed Apr 24, 2023
2 parents 93b2de3 + 936ef06 commit 18909f3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docker/Dockerfile-varnish
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM debian:stretch-slim
FROM debian:bullseye-slim

ENV VARNISH_MALLOC_SIZE="256M" \
DEBIAN_FRONTEND=noninteractive

ARG PACKAGECLOUD_URL=https://packagecloud.io/install/repositories/varnishcache/varnish60/script.deb.sh
ARG PACKAGECLOUD_URL=https://packagecloud.io/install/repositories/varnishcache/varnish60lts/script.deb.sh
ARG VARNISH_MODULES_VERSION=0.15.0

# Use official packages from Varnish and build with varnish-modules mainly for xkey
Expand All @@ -19,8 +19,8 @@ RUN set -xe \
libpcre3-dev \
libtool \
pkg-config \
python-docutils \
python-sphinx \
python3-docutils \
sphinx-common \
varnish-dev \
" \
# Update apt and get dependencies
Expand All @@ -29,7 +29,7 @@ RUN set -xe \
\
# Get official Varnish package
&& curl -s ${PACKAGECLOUD_URL} | bash \
&& apt-get install -q -y --allow-unauthenticated --no-install-recommends varnish $buildDeps \
&& apt-get install -q -y --allow-unauthenticated --no-install-recommends varnish=6.0.11-1~bullseye $buildDeps \
\
# Install varnish modules
&& curl -A "Docker" -o /tmp/varnish-modules.tar.gz -D - -L -s https://github.com/varnish/varnish-modules/archive/refs/tags/${VARNISH_MODULES_VERSION}.tar.gz \
Expand Down

0 comments on commit 18909f3

Please sign in to comment.