mirror of https://github.com/rails/rails
docker-entrypoint: export LD_PRELOAD
Otherwise it won't applied to the execed process. Fix: https://github.com/rails/rails/pull/50943#issuecomment-1936443319
This commit is contained in:
parent
a8d6d477c7
commit
9940dc879d
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Enable jemalloc for reduced memory usage and latency.
|
||||
if [ -f /usr/lib/*/libjemalloc.so.2 ]; then
|
||||
LD_PRELOAD="$(echo /usr/lib/*/libjemalloc.so.2) $LD_PRELOAD"
|
||||
export LD_PRELOAD="$(echo /usr/lib/*/libjemalloc.so.2) $LD_PRELOAD"
|
||||
fi
|
||||
|
||||
<% unless skip_active_record? -%>
|
||||
|
|
Loading…
Reference in New Issue