diff options
author | Konstantin Pavlov <thresh@nginx.com> | 2024-02-15 21:43:58 -0800 |
---|---|---|
committer | Konstantin Pavlov <pavlov.konstantin@gmail.com> | 2024-02-16 13:13:42 -0800 |
commit | c3af21e970ca3c822004cfda7c5b56ec07d99da9 (patch) | |
tree | f74d2b235e13faece767756f048036311e1a2b16 /pkg/docker/template.Dockerfile | |
parent | fbeb2065b180e2376088387ee150d3975dc08cd5 (diff) | |
download | unit-c3af21e970ca3c822004cfda7c5b56ec07d99da9.tar.gz unit-c3af21e970ca3c822004cfda7c5b56ec07d99da9.tar.bz2 |
Docker: Switch to github
Diffstat (limited to '')
-rw-r--r-- | pkg/docker/template.Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/docker/template.Dockerfile b/pkg/docker/template.Dockerfile index 4d5cc101..f5efc3c8 100644 --- a/pkg/docker/template.Dockerfile +++ b/pkg/docker/template.Dockerfile @@ -11,11 +11,11 @@ LABEL org.opencontainers.image.version="@@VERSION@@" 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 @@VERSION@@-@@PATCHLEVEL@@ https://hg.nginx.org/unit \ + && git clone -b @@VERSION@@-@@PATCHLEVEL@@ https://github.com/nginx/unit \ && cd unit \ && NCPU="$(getconf _NPROCESSORS_ONLN)" \ && DEB_HOST_MULTIARCH="$(dpkg-architecture -q DEB_HOST_MULTIARCH)" \ |