From 518441b67fc915e42824ceb4e56672cec8776885 Mon Sep 17 00:00:00 2001 From: shiqi cao Date: Tue, 26 Nov 2024 14:31:13 -0800 Subject: [PATCH] build jemalloc test --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1f43e8d..180b9d8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,14 +40,15 @@ FROM debian:bookworm-slim AS runtime-base RUN apt-get update && \ apt-get install -y --no-install-recommends \ - ibjemalloc-dev \ curl \ ca-certificates \ + dpkg-dev \ + libjemalloc-dev \ procps \ && \ rm -rf /var/lib/apt/lists/* -ENV LD_PRELOAD /usr/lib/x86_64-linux-gnu/libjemalloc.so +RUN echo "LD_PRELOAD=/usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/libjemalloc.so" >> /etc/environment RUN adduser --uid 1000 --home /sui --gecos '' --disabled-password sui WORKDIR /sui