From 6148e5e9acd3908b60f2c1ac6e148edbe77f3a5c Mon Sep 17 00:00:00 2001 From: denshooter Date: Sun, 22 Feb 2026 01:27:30 +0100 Subject: [PATCH] Fix Docker build: Specify libvips tag explicitly for git clone - Changed git clone --branch to git clone --branch refs/tags/ to correctly fetch the libvips version by tag, resolving the 'Remote branch not found' error. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 77ff920..e8e9eb4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ ARG LIBVIPS_VERSION=8.16.2 WORKDIR /tmp -RUN git clone --branch v${LIBVIPS_VERSION} --depth 1 https://github.com/libvips/libvips.git \ +RUN git clone --branch refs/tags/v${LIBVIPS_VERSION} --depth 1 https://github.com/libvips/libvips.git \ && cd libvips \ && meson setup build --prefix=/usr --buildtype=release \ && ninja -C build \