Skip to content

Commit dc35e87

Browse files
graphicsmagick: Libxml2 (fall back to github mirror if gitlab.gnome.o… (google#12652)
Clones from https://gitlab.gnome.org/GNOME/libxml2.git are recently sometimes failing due to server load. Try a second time, and then fall-back to the mirror at https://github.com/GNOME/libxml2.
1 parent b19c506 commit dc35e87

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: projects/graphicsmagick/Dockerfile

+4-2
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,10 @@ RUN git clone --depth 1 https://gitlab.com/federicomenaquintero/bzip2.git
8484
# Jasper
8585
RUN git clone --depth 1 https://github.com/jasper-software/jasper
8686

87-
# Libxml2
88-
RUN git clone --depth 1 https://gitlab.gnome.org/GNOME/libxml2.git
87+
# Libxml2 (fall back to github mirror if gitlab.gnome.org is overloaded)
88+
RUN git clone --depth 1 https://gitlab.gnome.org/GNOME/libxml2.git || \
89+
git clone --depth 1 https://gitlab.gnome.org/GNOME/libxml2.git || \
90+
git clone --depth 1 https://github.com/GNOME/libxml2
8991

9092
# Libjxl
9193
RUN git clone --depth 1 https://github.com/libjxl/libjxl.git

0 commit comments

Comments
 (0)