From 77582a3bde6859664c5c8a199292f57309c9e22a Mon Sep 17 00:00:00 2001 From: light7734 Date: Thu, 17 Jul 2025 12:56:46 +0330 Subject: [PATCH] ci: change leak sanitizer Dockerfile base image to arch linux --- tools/ci/images/leak_sanitizer/Dockerfile | 24 ++++++++++------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/tools/ci/images/leak_sanitizer/Dockerfile b/tools/ci/images/leak_sanitizer/Dockerfile index cf6318a..fb668cc 100644 --- a/tools/ci/images/leak_sanitizer/Dockerfile +++ b/tools/ci/images/leak_sanitizer/Dockerfile @@ -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/