diff --git a/Dockerfile b/Dockerfile index 1f43e8d..b6fcf6b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,14 +40,17 @@ 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 ln -s /usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/libjemalloc.so /usr/lib/libjemalloc.so + +ENV LD_PRELOAD=/usr/lib/libjemalloc.so RUN adduser --uid 1000 --home /sui --gecos '' --disabled-password sui WORKDIR /sui