Hash :
7a9728c1
Author :
Date :
2024-12-10T21:37:58
gitlab-ci: Re-add llvm This reverts commit d09b07d1b9574c96e047aa19f925b2ee695e436f. Document why some packages are needed.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
# The image is also used for libxslt.
#
# package required for
# ------------------------------------------------------------
# libclang-rt-dev sanitizer runtimes
# llvm llvm-symbolizer (for sanitizer backtraces)
# git libxslt
# libgcrypt-dev libxslt
# xz-utils make dist
FROM ubuntu:24.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y --no-install-recommends \
curl git ca-certificates \
autoconf automake libtool pkg-config \
make gcc clang llvm libclang-rt-dev \
zlib1g-dev liblzma-dev libgcrypt-dev \
python3-dev \
cmake meson \
xz-utils
WORKDIR /tests
RUN curl https://www.w3.org/XML/Test/xmlts20080827.tar.gz |tar xz
# XML::LibXML uses Alien::Libxml2 which has a huge dependency chain.
# We try to install most dependencies with apt. We also require
# libxml2-dev to stop Alien::Libxml2 from downloading and building
# libxml2 on its own.
RUN apt-get install -y --no-install-recommends \
libperl-dev libxml2-dev cpanminus \
libalien-build-perl \
libio-socket-ssl-perl \
libsort-versions-perl \
liburi-perl \
libxml-namespacesupport-perl \
libxml-sax-perl \
libyaml-perl
RUN cpanm -n Alien::Libxml2
RUN apt-get remove -y libxml2-dev