kubernaut/dockerfiles/entrypoint.sh
Ryan Cavicchioni 4fd8dd78ef
Some checks failed
Gitea Actions Demo / lint (push) Successful in 24s
Gitea Actions Demo / test (push) Successful in 15s
Gitea Actions Demo / docker (push) Has been cancelled
use jemalloc
2025-04-30 21:51:49 -05:00

16 lines
279 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
# output debugging info
ruby --version
printf "rubygems %s\n" "$(gem --version)"
bundle version
if [ -z "${LD_PRELOAD+x}" ]; then
LD_PRELOAD="$(find /usr/lib -name libjemalloc.so.2 -print -quit)"
export LD_PRELOAD
fi
exec "${@}"