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