From 957aed8cdd0c35c200d2526ff5bbcfda9b4efc7f Mon Sep 17 00:00:00 2001 From: Rafael dos Santos Silva Date: Mon, 4 Mar 2024 12:42:49 -0300 Subject: [PATCH] FEATURE: Update RUBY_ALLOCATOR to work on both x64 and arm64 (#777) automatically While x64 is still on jemalloc 3.6, arm64 is using latest jemalloc. They have different names for the library file, so we will now use the symlink to automatically load the one available. --- image/base/slim.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image/base/slim.Dockerfile b/image/base/slim.Dockerfile index a304f75..be6fbb3 100644 --- a/image/base/slim.Dockerfile +++ b/image/base/slim.Dockerfile @@ -3,7 +3,7 @@ FROM debian:bullseye-slim ENV PG_MAJOR=13 \ - RUBY_ALLOCATOR=/usr/lib/libjemalloc.so.1 \ + RUBY_ALLOCATOR=/usr/lib/libjemalloc.so \ RUSTUP_HOME=/usr/local/rustup \ CARGO_HOME=/usr/local/cargo \ PATH=/usr/local/cargo/bin:$PATH \ -- 2.25.1