Skip to content

Commit

Permalink
adjust libjemalloc version to what's available for stretch
Browse files Browse the repository at this point in the history
  • Loading branch information
brianhenryhf committed Nov 12, 2024
1 parent b0b6910 commit b18540a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .docker/production/Dockerfile.gha
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ RUN apt-get update -qq \
vim \
zip \
zlibc \
libjemalloc2 \
libjemalloc1 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
&& truncate -s 0 /var/log/*log
Expand Down
2 changes: 1 addition & 1 deletion bin/docker-entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Enable jemalloc for reduced memory usage and latency, especially in production
if [ -z "${LD_PRELOAD+x}" ]; then
LD_PRELOAD=$(find /usr/lib -name libjemalloc.so.2 -print -quit)
LD_PRELOAD=$(find /usr/lib -name libjemalloc.so.1 -print -quit)
export LD_PRELOAD
fi

Expand Down

0 comments on commit b18540a

Please sign in to comment.