From 3b395857af38fdb69191ce102c4424494d765069 Mon Sep 17 00:00:00 2001 From: Georg Gadinger Date: Mon, 22 Jan 2024 15:42:08 +0100 Subject: [PATCH] build ruby with jemalloc --- Containerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index 5abee3f1..ca5903b3 100644 --- a/Containerfile +++ b/Containerfile @@ -26,6 +26,7 @@ RUN zypper addrepo https://download.opensuse.org/repositories/devel:languages:no libffi-devel \ libopenssl-devel \ libyaml-devel \ + jemalloc-devel \ make \ ncurses-devel \ readline-devel \ @@ -52,7 +53,7 @@ RUN curl -Lo ruby-install-${RUBY_INSTALL_VERSION}.tar.gz https://github.com/post && tar xvf ruby-install-${RUBY_INSTALL_VERSION}.tar.gz \ && (cd ruby-install-${RUBY_INSTALL_VERSION} && make install) \ && rm -rf ruby-install-${RUBY_INSTALL_VERSION} ruby-install-${RUBY_INSTALL_VERSION}.tar.gz \ - && ruby-install --no-install-deps --cleanup --system --jobs=$(nproc) ruby ${RUBY_VERSION} -- --disable-install-rdoc \ + && ruby-install --no-install-deps --cleanup --system --jobs=$(nproc) ruby ${RUBY_VERSION} -- --disable-install-rdoc --with-jemalloc \ && gem install bundler:${BUNDLER_VERSION} # create user and dirs to run retrospring in