ci: change leak sanitizer Dockerfile base image to arch linux

This commit is contained in:
light7734 2025-07-17 12:56:46 +03:30
parent 0fbd4ebad1
commit 77582a3bde
Signed by: light7734
GPG key ID: 8C30176798F1A6BA

View file

@ -1,23 +1,19 @@
FROM alpine:latest
RUN apk add --no-cache \
FROM archlinux/base
RUN pacman -Syu --noconfirm && \
pacman -S --noconfirm \
bash \
base-devel \
clang \
llvm \
cmake \
git \
make \
g++ \
python3 \
py3-pip \
mesa-dev \
mesa-gl \
pkgconf \
python \
python-pip \
mesa \
mold \
ninja \
libc-dev \
zlib-dev \
libunwind-dev
zlib \
libunwind
RUN pip install --no-cache-dir --break-system-packages conan gitpython \
&& conan profile detect
@ -50,7 +46,7 @@ RUN cd llvm-project/ \
-DLLVM_USE_SANITIZER=Leaks \
../runtimes &&\
ninja cxx cxxabi && \
cd ../\
cd ../ \
&& DESTDIR="/libcxx_lsan" ninja -C build install-cxx install-cxxabi\
&& rm -rf /usr/src/llvm-project/