summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2024-02-19 14:41:28 +0000
committerandrey-zelenkov <xim.andrew@gmail.com>2024-02-19 15:18:13 +0000
commitea239635beac396fb859d822474af76a7014c70d (patch)
treecb135cfca6731f4128a6995fcd25fb2a5fdcead9
parent756feafd541160e97edfb6faf13e9942271629ce (diff)
downloadunit-ea239635beac396fb859d822474af76a7014c70d.tar.gz
unit-ea239635beac396fb859d822474af76a7014c70d.tar.bz2
Docker: Switch python3.12 to using github
Forgotten in <https://github.com/nginx/unit/commit/c3af21e970ca3c822004cfda7c5b56ec07d99da9>
-rw-r--r--pkg/docker/Dockerfile.python3.124
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/docker/Dockerfile.python3.12 b/pkg/docker/Dockerfile.python3.12
index ad98519c..0fc64911 100644
--- a/pkg/docker/Dockerfile.python3.12
+++ b/pkg/docker/Dockerfile.python3.12
@@ -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)" \