diff --git a/next/debian/Dockerfile b/next/debian/Dockerfile index 55189ec3a9..58a3d3ff34 100644 --- a/next/debian/Dockerfile +++ b/next/debian/Dockerfile @@ -30,10 +30,10 @@ RUN set -e; \ cd /work/varnish; \ git clone https://github.com/varnishcache/pkg-varnish-cache.git; \ cd pkg-varnish-cache; \ - git checkout cfa8cb3724e4ca6398f60b09157715bcb99d189d; \ + git checkout $PKG_COMMIT; \ rm -rf .git; \ - curl -f https://varnish-cache.org/downloads/varnish-7.4.2.tgz -o $tmpdir/orig.tgz; \ - echo "acd61a852ac7d66b268ab831d3a771d7a063a6a257b5e7c25c5a2ec9bccefa845279b9bd5fc85dd0b4f1d56da59164a13149355d1e6187e71ad76463687f7971 $tmpdir/orig.tgz" | sha512sum -c -; \ + curl -f https://varnish-cache.org/downloads/varnish-$VARNISH_VERSION.tgz -o $tmpdir/orig.tgz; \ + echo "$DIST_SHA512 $tmpdir/orig.tgz" | sha512sum -c -; \ tar xavf $tmpdir/orig.tgz --strip 1; \ sed -i -e "s|@VERSION@|$VARNISH_VERSION|" "debian/changelog"; \ mk-build-deps --install --tool="apt-get -o Debug::pkgProblemResolver=yes --yes" debian/control; \ diff --git a/next/debian/Dockerfile.tmpl b/next/debian/Dockerfile.tmpl index 3c0d53e278..994877f24f 100644 --- a/next/debian/Dockerfile.tmpl +++ b/next/debian/Dockerfile.tmpl @@ -30,10 +30,10 @@ RUN set -e; \ cd /work/varnish; \ git clone https://github.com/varnishcache/pkg-varnish-cache.git; \ cd pkg-varnish-cache; \ - git checkout @PKG_COMMIT@; \ + git checkout $PKG_COMMIT; \ rm -rf .git; \ - curl -f https://varnish-cache.org/downloads/varnish-@VARNISH_VERSION@.tgz -o $tmpdir/orig.tgz; \ - echo "@DIST_SHA512@ $tmpdir/orig.tgz" | sha512sum -c -; \ + curl -f https://varnish-cache.org/downloads/varnish-$VARNISH_VERSION.tgz -o $tmpdir/orig.tgz; \ + echo "$DIST_SHA512 $tmpdir/orig.tgz" | sha512sum -c -; \ tar xavf $tmpdir/orig.tgz --strip 1; \ sed -i -e "s|@VERSION@|$VARNISH_VERSION|" "debian/changelog"; \ mk-build-deps --install --tool="apt-get -o Debug::pkgProblemResolver=yes --yes" debian/control; \