An Alpine Linux image with init, user, and mimalloc.
10K+
An alpine image with init, user, and mimalloc based on kgrv/mini.
| OS/ARCH | Description |
|---|---|
linux/amd64 | 64-bit x86 architecture for Linux operating systems |
linux/arm64 | 64-bit ARM architecture for Linux operating systems |
| Type | Container | Function |
|---|---|---|
| Environment | EUID | Optional Effective User ID |
| Environment | EGID | Optional Effective Group ID |
| Environment | UMASK | Optional Default permissions |
| Environment | SUGGEST | Optional Set suggestion messages |
| Environment | FALLBACK_CMD | Optional Set command when empty |
| Volume | /mnt | Optional Bind mount volume |
| Keyword | Configuration |
|---|---|
SHELL | [ "/bin/ash", "-euxo", "pipefail", "-c" ] |
ENV | PATH_APP=/app |
ENV | PATH_CONFIG=/config |
ENV | PATH_DATA=/data |
ENV | PATH_HOME=/mini |
ENV | PATH_MNT=/mnt |
ENV | LD_LIBRARY_PATH=/app/lib:/usr/local/lib |
ENV | PATH=/app/bin:${PATH} |
ENV | XDG_CONFIG_HOME=/config |
ENV | XDG_DATA_HOME=/data |
ENV | HOME=/mini |
ENV | USER=mini |
WORKDIR | ${PATH_MNT} -> /mnt |
ENV | LD_PRELOAD=/usr/lib/libmimalloc.so |
ENTRYPOINT | [ "tini", "--", "enpt" ] |
EUID / EGID environment variablesmini:mini as defaultUMASK defaults to 0022SUGGEST defaults to trueapk permitted for mini with doasFROM kgrv/alpine
tini by using CMD without overriding ENTRYPOINTFROM kgrv/alpine AS develop
...
CMD [ "nreq", "--debug" ]
ENTRYPOINT with "tini", "--", "enpt"FROM kgrv/alpine AS develop
...
ENTRYPOINT [ "tini", "--", "enpt", "nreq" ]
CMD [ "--debug" ]
enpt loads the first ash script found in the following orders:
/app/init.sh/app/docker-entrypoint.sh/etc/localtime or /usr/share/zoneinfodocker run -it -v /etc/localtime:/etc/localtime:ro kgrv/alpine
docker run -it -v /usr/share/zoneinfo/US/Eastern:/etc/localtime:ro kgrv/alpine
docker run -it kgrv/alpine
docker run -it -v $(pwd):/mnt kgrv/alpine
Important
Argument
--useris not supported, please useEUID/EGID.
docker run -it -e EUID=$(id -u) -e EGID=$(id -g) kgrv/alpine
docker run -it kgrv/alpine --BECOME_ROOT
doas apk add PACKAGE
arcm A script to map different architecture keywords.
USAGE: arcm ARCH
ARGUMENTS:
ARCH returns ARCH when no match:
aarch64, arm64, x86_64, amd64
amd64-n, amd64-x
RETURNS:
arm64 <-> aarch64
amd64 <-> x86_64
amd64-n -> x64
amd64-x -> x86_64
Dockerfile...
RUN ARCH="$(arcm ${TARGETARCH})" && \
wget -nv "https://static.rust-lang.org/rustup/dist/${ARCH}-unknown-linux-musl/rustup-init" && \
...
enptImportant
Ensure that
root (0)user is executing the command.
DockerfileFROM kgrv/mini:sh AS develop
...
ENTRYPOINT [ "tini", "--", "enpt", "nreq" ]
CMD [ "--debug" ]
os-release Alpine Linux 3.23.4
+ mini 0.5.0
Build 2026-04-19T07:47:13Z (aarch64)
mini 0.5.0
+ busybox 1.37.0
+ ca-certificates 20260413
+ mimalloc 3.3.0
+ su-exec 0.3
+ tini 369448a1
Build sh_2026-04-19T07:46:32Z (aarch64)
ansi-colors#!/bin/ash
set -euo pipefail
. ansi-colors
...
Content type
Image
Digest
sha256:85e6261c9…
Size
4.3 MB
Last updated
about 1 month ago
docker pull kgrv/alpine