From 0b0b02d6e042ecb4ff048727e8b7f034e2591b8c Mon Sep 17 00:00:00 2001 From: Jabber Developer Date: Tue, 2 Sep 2025 15:06:30 +0200 Subject: [PATCH] build: use local libstrophe version and limit depth `--depth 1` flag ensures that only latest version is loaded (since there is no need to sync full git) Using local libstrophe version increases speed of fetching --- Dockerfile.debian | 2 +- Dockerfile.fedora | 2 +- Dockerfile.ubuntu | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile.debian b/Dockerfile.debian index 504e01b1..ff8fb04d 100644 --- a/Dockerfile.debian +++ b/Dockerfile.debian @@ -36,7 +36,7 @@ RUN mkdir -p /usr/src/{stabber,libstrophe,profanity} WORKDIR /usr/src #RUN git clone https://github.com/boothj5/stabber -RUN git clone -c http.sslverify=false https://github.com/strophe/libstrophe +RUN git clone --depth 1 https://git.jabber.space/devs/libstrophe-gh.git libstrophe #WORKDIR /usr/src/stabber #RUN ./bootstrap.sh diff --git a/Dockerfile.fedora b/Dockerfile.fedora index 208c9c28..889f75eb 100644 --- a/Dockerfile.fedora +++ b/Dockerfile.fedora @@ -56,7 +56,7 @@ WORKDIR /usr/src WORKDIR /usr/src RUN mkdir -p /usr/src/libstrophe -RUN git clone -c http.sslverify=false https://github.com/strophe/libstrophe +RUN git clone --depth 1 https://git.jabber.space/devs/libstrophe-gh.git libstrophe WORKDIR /usr/src/libstrophe RUN ./bootstrap.sh RUN ./configure --prefix=/usr diff --git a/Dockerfile.ubuntu b/Dockerfile.ubuntu index 1d568517..53761022 100644 --- a/Dockerfile.ubuntu +++ b/Dockerfile.ubuntu @@ -37,7 +37,7 @@ RUN mkdir -p /usr/src/{stabber,libstrophe,profanity} WORKDIR /usr/src #RUN git clone https://github.com/boothj5/stabber -RUN git clone -c http.sslverify=false https://github.com/strophe/libstrophe +RUN git clone --depth 1 https://git.jabber.space/devs/libstrophe-gh.git libstrophe # TODO: Re-enable once libmicrohttpd-dev has been updated. #WORKDIR /usr/src/stabber