summaryrefslogtreecommitdiffhomepage
path: root/pkg/docker/Dockerfile.jsc11
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2024-02-15 21:43:58 -0800
committerKonstantin Pavlov <pavlov.konstantin@gmail.com>2024-02-16 13:13:42 -0800
commitc3af21e970ca3c822004cfda7c5b56ec07d99da9 (patch)
treef74d2b235e13faece767756f048036311e1a2b16 /pkg/docker/Dockerfile.jsc11
parentfbeb2065b180e2376088387ee150d3975dc08cd5 (diff)
downloadunit-c3af21e970ca3c822004cfda7c5b56ec07d99da9.tar.gz
unit-c3af21e970ca3c822004cfda7c5b56ec07d99da9.tar.bz2
Docker: Switch to github
Diffstat (limited to 'pkg/docker/Dockerfile.jsc11')
-rw-r--r--pkg/docker/Dockerfile.jsc114
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/docker/Dockerfile.jsc11 b/pkg/docker/Dockerfile.jsc11
index 2844c813..33a40a47 100644
--- a/pkg/docker/Dockerfile.jsc11
+++ b/pkg/docker/Dockerfile.jsc11
@@ -11,11 +11,11 @@ LABEL org.opencontainers.image.version="1.31.1"
RUN set -ex \
&& savedAptMark="$(apt-mark showmanual)" \
&& apt-get update \
- && apt-get install --no-install-recommends --no-install-suggests -y ca-certificates mercurial build-essential libssl-dev libpcre2-dev curl pkg-config \
+ && apt-get install --no-install-recommends --no-install-suggests -y ca-certificates git build-essential libssl-dev libpcre2-dev curl pkg-config \
&& mkdir -p /usr/lib/unit/modules /usr/lib/unit/debug-modules \
&& mkdir -p /usr/src/unit \
&& cd /usr/src/unit \
- && hg clone -u 1.31.1-1 https://hg.nginx.org/unit \
+ && git clone -b 1.31.1-1 https://github.com/nginx/unit \
&& cd unit \
&& NCPU="$(getconf _NPROCESSORS_ONLN)" \
&& DEB_HOST_MULTIARCH="$(dpkg-architecture -q DEB_HOST_MULTIARCH)" \