Skip to content

📦 Serving pre-built jemalloc binary here, so you don't need to compile every time.

Notifications You must be signed in to change notification settings

kane50613/jemalloc-alpine-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

jemalloc-alpine-image

📦 Serving pre-built jemalloc binary here, so you don't need to compile every time.

Usage

# Use pre-built jemalloc binary
FROM gary50613/jemalloc-alpine:latest as jemalloc

# With your runner image, ex: node:alpine
FROM node:alpine

# Copy the pre-built binary
COPY --from=jemalloc /usr/local/lib/libjemalloc.so.2 /usr/local/lib/

# Tell nodejs to use jemalloc (optional)
ENV LD_PRELOAD=/usr/local/lib/libjemalloc.so.2

About

📦 Serving pre-built jemalloc binary here, so you don't need to compile every time.

Topics

Resources

Stars

Watchers

Forks