build ruby with jemalloc
This commit is contained in:
parent
1c8911b859
commit
3b395857af
|
@ -26,6 +26,7 @@ RUN zypper addrepo https://download.opensuse.org/repositories/devel:languages:no
|
||||||
libffi-devel \
|
libffi-devel \
|
||||||
libopenssl-devel \
|
libopenssl-devel \
|
||||||
libyaml-devel \
|
libyaml-devel \
|
||||||
|
jemalloc-devel \
|
||||||
make \
|
make \
|
||||||
ncurses-devel \
|
ncurses-devel \
|
||||||
readline-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 \
|
&& tar xvf ruby-install-${RUBY_INSTALL_VERSION}.tar.gz \
|
||||||
&& (cd ruby-install-${RUBY_INSTALL_VERSION} && make install) \
|
&& (cd ruby-install-${RUBY_INSTALL_VERSION} && make install) \
|
||||||
&& rm -rf ruby-install-${RUBY_INSTALL_VERSION} ruby-install-${RUBY_INSTALL_VERSION}.tar.gz \
|
&& 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}
|
&& gem install bundler:${BUNDLER_VERSION}
|
||||||
|
|
||||||
# create user and dirs to run retrospring in
|
# create user and dirs to run retrospring in
|
||||||
|
|
Loading…
Reference in New Issue