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.
This commit is contained in:
denshooter
2026-02-22 01:27:30 +01:00
parent 82c7b5bcc7
commit 6148e5e9ac
+1 -1
View File
@@ -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 \