Skip to content

Commit 829c3fb

Browse files
committed
modules: pkg-oss moved to GitHub.
1 parent f0fc31f commit 829c3fb

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

modules/Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ COPY ./ /modules/
1414

1515
RUN apt-get update \
1616
&& 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 \
1818
quilt lsb-release build-essential libxml2-utils xsltproc \
1919
equivs git g++ libparse-recdescent-perl \
2020
&& 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 \
2222
&& if [ "$(cat /tmp/xslscript.pl | openssl sha512 -r)" = "$XSLSCRIPT_SHA512" ]; then \
2323
echo "XSLScript checksum verification succeeded!"; \
2424
chmod +x /tmp/xslscript.pl; \
@@ -27,7 +27,7 @@ RUN apt-get update \
2727
echo "XSLScript checksum verification failed!"; \
2828
exit 1; \
2929
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/ \
3131
&& cd pkg-oss \
3232
&& mkdir /tmp/packages \
3333
&& for module in $ENABLED_MODULES; do \

modules/Dockerfile.alpine

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RUN apk update \
1919
# allow abuild as a root user \
2020
&& printf "#!/bin/sh\\nSETFATTR=true /usr/bin/abuild -F \"\$@\"\\n" > /usr/local/bin/abuild \
2121
&& 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/ \
2323
&& cd pkg-oss \
2424
&& mkdir /tmp/packages \
2525
&& for module in $ENABLED_MODULES; do \

modules/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
It's possible to extend a mainline image with third-party modules either from
44
your own instuctions following a simple filesystem layout/syntax using
55
`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).
77

88
## Requirements
99

@@ -101,7 +101,7 @@ reproduce with a vanilla image first.
101101
### docker-compose with pre-packaged modules
102102

103103
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-*`
105105
exists for a given module, you can use this example.
106106

107107
1. Create a directory for your project:

0 commit comments

Comments
 (0)