From 3ef250c30abf62e64472d5396ed555935ecab34a Mon Sep 17 00:00:00 2001 From: Thearas Date: Wed, 26 Jan 2022 18:17:10 +0800 Subject: [PATCH] fix: docker image failed to boot on arm64 node --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 075dede67..44743c9aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,7 @@ COPY meilisearch-http/Cargo.toml meilisearch-http/ COPY meilisearch-lib/Cargo.toml meilisearch-lib/ ENV RUSTFLAGS="-C target-feature=-crt-static" +ENV JEMALLOC_SYS_WITH_LG_PAGE 16 # Create dummy main.rs files for each workspace member to be able to compile all the dependencies RUN find . -type d -name "meilisearch-*" | xargs -I{} sh -c 'mkdir {}/src; echo "fn main() { }" > {}/src/main.rs;'