Skip to content

Instantly share code, notes, and snippets.

@reke592
Created May 16, 2024 05:04
Show Gist options
  • Save reke592/c97ca96509ee848f08531a68fe77fa4a to your computer and use it in GitHub Desktop.
Save reke592/c97ca96509ee848f08531a68fe77fa4a to your computer and use it in GitHub Desktop.
mysql docker with tcmalloc
FROM mysql:8.0.15
RUN echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list && \
apt-get update && \
apt-get install -y libgoogle-perftools-dev
# ENV LD_PRELOAD=/usr/lib/libtcmalloc.so.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment