Skip to content
Snippets Groups Projects
Commit 3581b670 authored by Konstantin Pavlov's avatar Konstantin Pavlov
Browse files

modules: added xslscript.pl to debian-based image.

This should not be really required.  Sometimes when building debian
changelogs in pkg-oss there seems to be a timestamp issue forcing
changes.xslt to be rebuilt.  I can not reliable reproduce it, but a
workaround seems to be just to ship the script and use it when it's
needed.

Fixes #677.
parent a563dda2
Branches
Tags
No related merge requests found
...@@ -15,7 +15,17 @@ RUN set -ex \ ...@@ -15,7 +15,17 @@ RUN set -ex \
&& apt install -y --no-install-suggests --no-install-recommends \ && apt install -y --no-install-suggests --no-install-recommends \
patch make wget mercurial devscripts debhelper dpkg-dev \ patch make wget mercurial devscripts debhelper dpkg-dev \
quilt lsb-release build-essential libxml2-utils xsltproc \ quilt lsb-release build-essential libxml2-utils xsltproc \
equivs git g++ \ equivs git g++ libparse-recdescent-perl \
&& XSLSCRIPT_SHA512="f7194c5198daeab9b3b0c3aebf006922c7df1d345d454bd8474489ff2eb6b4bf8e2ffe442489a45d1aab80da6ecebe0097759a1e12cc26b5f0613d05b7c09ffa *stdin" \
&& wget -O /tmp/xslscript.pl https://hg.nginx.org/xslscript/raw-file/01dc9ba12e1b/xslscript.pl \
&& if [ "$(cat /tmp/xslscript.pl | openssl sha512 -r)" = "$XSLSCRIPT_SHA512" ]; then \
echo "XSLScript checksum verification succeeded!"; \
chmod +x /tmp/xslscript.pl; \
mv /tmp/xslscript.pl /usr/local/bin/; \
else \
echo "XSLScript checksum verification failed!"; \
exit 1; \
fi \
&& hg clone -r ${NGINX_VERSION}-${PKG_RELEASE%%~*} https://hg.nginx.org/pkg-oss/ \ && hg clone -r ${NGINX_VERSION}-${PKG_RELEASE%%~*} https://hg.nginx.org/pkg-oss/ \
&& cd pkg-oss \ && cd pkg-oss \
&& mkdir /tmp/packages \ && mkdir /tmp/packages \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment