Alpine Linux with mimalloc for fastest multi-threaded memory allocation
4.0K

Alpine Linux with mimalloc for fastest multi-threaded memory allocation
These are the main tags for the image. There is also a tag for each commit and its shorthand sha256 value.
What can I do with this? This image will give you a base Alpine image with some additional tweaks like some bin’s (curl, tini, shadow, tzdata) which are present by default and the mimalloc memory allocator which can be used for certain apps to deal with musl’s not so optimized malloc for multi-threading. It will also execute the script /usr/local/bin/entrypoint.sh via tini.
If used as a base image for your own image simply leave out your own ENTRYPOINT to use the default one and provide your own /usr/local/bin/entrypoint.sh.
name: "alpine"
services:
alpine:
image: "11notes/alpine:3.21.3"
container_name: "alpine"
environment:
TZ: "Europe/Zurich"
restart: "always"
FROM 11notes/alpine:stable
# switch to root during setup
USER root
# setup your app
RUN set -ex; \
setup your app
# add custom entrypoint to image
COPY ./entrypoint.sh /usr/local/bin
# start image as 1000:1000
USER docker
| Parameter | Value | Description |
|---|---|---|
user | docker | user name |
uid | 1000 | user identifier |
gid | 1000 | group identifier |
home | / | home directory of user docker |
| Parameter | Value | Default |
|---|---|---|
TZ | Time Zone | |
DEBUG | Will activate debug option for container image and app (if available) |
This image is provided to you at your own risk. Always make backups before updating an image to a different version. Check the releases for breaking changes. If you have any problems with using this image simply raise an issue, thanks. If you have a question or inputs please create a new discussion instead of an issue. You can find all my other repositories on github.
created 7.3.2025, 11:08:59 (CET)
Content type
Image
Digest
sha256:dce8d7881…
Size
40.5 MB
Last updated
about 1 year ago
docker pull 11notes/github-workflow