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