mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 08:19:53 +01:00
build ruby with jemalloc
This commit is contained in:
parent
1c8911b859
commit
3b395857af
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue