CI: added archive with CHM docs for stable FPC to build image (needed for building Lazarus docs)

This commit is contained in:
Maxim Ganetsky 2022-12-17 02:33:00 +03:00
parent a6bfd44df4
commit d7f0ef81fe

View File

@ -12,12 +12,18 @@ RUN dpkg --add-architecture i386 && apt-get update && apt-get -y install \
libqt5x11extras5-dev \
qtbase5-dev \
qt6-base-dev \
unzip \
wget
SHELL ["/bin/bash", "-c"]
# install compilers
RUN tarballs=( \
# install compilers, but first save (to root directory for simplicity) docs archive for stable FPC (needed to build Lazarus docs)
RUN docarchive=doc-chm.zip; \
wget --no-verbose --output-document=/$docarchive https://downloads.freepascal.org/fpc/dist/$FPC_STABLE_VER/docs/$docarchive; \
if [ ! -f /$docarchive ]; then \
exit 1; \
fi; \
tarballs=( \
"https://sourceforge.net/projects/freepascal/files/Linux/$FPC_OLDSTABLE_VER/fpc-$FPC_OLDSTABLE_VER-x86_64-linux.tar fpc-$FPC_OLDSTABLE_VER-x86_64-linux" \
"https://sourceforge.net/projects/freepascal/files/Linux/$FPC_STABLE_VER/fpc-$FPC_STABLE_VER.x86_64-linux.tar fpc-$FPC_STABLE_VER.x86_64-linux" \
"https://gitlab.com/freepascal.org/fpc/build/-/jobs/artifacts/fixes_3_2/raw/fpc-$FPC_FIXES_VER.x86_64-linux.tar?job=build-job fpc-$FPC_FIXES_VER.x86_64-linux" \