File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ COPY ./ /modules/
14
14
15
15
RUN apt-get update \
16
16
&& apt-get install -y --no-install-suggests --no-install-recommends \
17
- patch make wget mercurial devscripts debhelper dpkg-dev \
17
+ patch make wget git devscripts debhelper dpkg-dev \
18
18
quilt lsb-release build-essential libxml2-utils xsltproc \
19
19
equivs git g++ libparse-recdescent-perl \
20
20
&& XSLSCRIPT_SHA512="f7194c5198daeab9b3b0c3aebf006922c7df1d345d454bd8474489ff2eb6b4bf8e2ffe442489a45d1aab80da6ecebe0097759a1e12cc26b5f0613d05b7c09ffa *stdin" \
21
- && wget -O /tmp/xslscript.pl https://hg.nginx.org/ xslscript/raw-file/01dc9ba12e1b /xslscript.pl \
21
+ && wget -O /tmp/xslscript.pl https://raw.githubusercontent.com/nginx/ xslscript/9204424259c343ca08a18a78915f40f28025e093 /xslscript.pl \
22
22
&& if [ "$(cat /tmp/xslscript.pl | openssl sha512 -r)" = "$XSLSCRIPT_SHA512" ]; then \
23
23
echo "XSLScript checksum verification succeeded!" ; \
24
24
chmod +x /tmp/xslscript.pl; \
@@ -27,7 +27,7 @@ RUN apt-get update \
27
27
echo "XSLScript checksum verification failed!" ; \
28
28
exit 1; \
29
29
fi \
30
- && hg clone -r ${NGINX_VERSION}-${PKG_RELEASE%%~*} https://hg. nginx.org /pkg-oss/ \
30
+ && git clone -b ${NGINX_VERSION}-${PKG_RELEASE%%~*} https://github.com/ nginx/pkg-oss/ \
31
31
&& cd pkg-oss \
32
32
&& mkdir /tmp/packages \
33
33
&& for module in $ENABLED_MODULES; do \
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ RUN apk update \
19
19
# allow abuild as a root user \
20
20
&& printf "#!/bin/sh\\nSETFATTR=true /usr/bin/abuild -F \"\$@\"\\n" > /usr/local/bin/abuild \
21
21
&& chmod +x /usr/local/bin/abuild \
22
- && hg clone -r ${NGINX_VERSION}-${PKG_RELEASE} https://hg. nginx.org /pkg-oss/ \
22
+ && git clone -b ${NGINX_VERSION}-${PKG_RELEASE} https://github.com/ nginx/pkg-oss/ \
23
23
&& cd pkg-oss \
24
24
&& mkdir /tmp/packages \
25
25
&& for module in $ENABLED_MODULES; do \
Original file line number Diff line number Diff line change 3
3
It's possible to extend a mainline image with third-party modules either from
4
4
your own instuctions following a simple filesystem layout/syntax using
5
5
` build_module.sh ` helper script, or falling back to package sources from
6
- [ pkg-oss] ( https://hg. nginx.org /pkg-oss ) .
6
+ [ pkg-oss] ( https://github.com/ nginx/pkg-oss ) .
7
7
8
8
## Requirements
9
9
@@ -101,7 +101,7 @@ reproduce with a vanilla image first.
101
101
### docker-compose with pre-packaged modules
102
102
103
103
If desired modules are already packaged in
104
- [ pkg-oss] ( https://hg. nginx.org /pkg-oss/ ) - e.g. ` debian/Makefile.module-* `
104
+ [ pkg-oss] ( https://github.com/ nginx/pkg-oss/ ) - e.g. ` debian/Makefile.module-* `
105
105
exists for a given module, you can use this example.
106
106
107
107
1 . Create a directory for your project:
You can’t perform that action at this time.
0 commit comments