The libjemalloc library is being added to the base image in #142
To provide full support for jemalloc, we'd need to do the following:
- Set
RUBY_CONFIGURE_OPTS=--with-jemalloc when installing Ruby with rbenv
- Provide an alternative set of prebuilt MRI binaries compiled against jemalloc. (We cannot just replace the current set because apps pinned to an older runtime with an older base image would break.)
- Add a
runtime_config entry letting users opt-in to using jemalloc.