https://github.com/marvin-hansen/mimalloc
Docker base image using Microsoft mimalloc as a replacement for musl malloc.
https://github.com/marvin-hansen/mimalloc
Last synced: 6 months ago
JSON representation
Docker base image using Microsoft mimalloc as a replacement for musl malloc.
- Host: GitHub
- URL: https://github.com/marvin-hansen/mimalloc
- Owner: marvin-hansen
- License: mit
- Created: 2024-03-20T09:43:27.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-02T06:15:47.000Z (almost 2 years ago)
- Last Synced: 2025-04-05T09:23:33.845Z (9 months ago)
- Language: Dockerfile
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Rust Build Image with MOLD linker and mimalloc allocator.
**Build image with:**
> docker build -t hansenmarvin/rust-build:1.76-alpine -f Dockerfile .
**Push image to Dockerhub with:**
> docker push hansenmarvin/rust-build:1.76-alpine
## Sources:
Kerkour Blog: [How to create small Docker images for Rust](https://kerkour.com/rust-small-docker-image)
Emerson Gomes: [Testing Alternative C Memory Allocators Pt 2: The MUSL mystery](https://www.linkedin.com/pulse/testing-alternative-c-memory-allocators-pt-2-musl-mystery-gomes)
TWEAG Blog: [SUPERCHARGING YOUR RUST STATIC EXECUTABLES WITH MIMALLOC](https://www.tweag.io/blog/2023-08-10-rust-static-link-with-mimalloc/)
GITHUB: [rust-alpine-mimalloc](https://github.com/tweag/rust-alpine-mimalloc)