Skip to content

Commit

Permalink
use args everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
gquintard committed Jan 26, 2024
1 parent 8081175 commit 6e6bbc5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions next/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down
6 changes: 3 additions & 3 deletions next/debian/Dockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down

0 comments on commit 6e6bbc5

Please sign in to comment.