Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kane50613/jemalloc-alpine-image
📦 Serving pre-built jemalloc binary here, so you don't need to compile every time.
https://github.com/kane50613/jemalloc-alpine-image
alpine docker jemalloc
Last synced: 2 months ago
JSON representation
📦 Serving pre-built jemalloc binary here, so you don't need to compile every time.
- Host: GitHub
- URL: https://github.com/kane50613/jemalloc-alpine-image
- Owner: kane50613
- Created: 2023-07-15T17:37:01.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-07-23T02:36:16.000Z (over 1 year ago)
- Last Synced: 2023-10-08T16:32:46.594Z (over 1 year ago)
- Topics: alpine, docker, jemalloc
- Language: Dockerfile
- Homepage:
- Size: 9.77 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jemalloc-alpine-image
📦 Serving pre-built jemalloc binary here, so you don't need to compile every time.
## Usage
```Dockerfile
# 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
```