This is Ubuntu 24.04 LTS base docker container that I use to deploy all my other images & servers.
10K+
A minimal, hardened Ubuntu base image for building production-ready containers.
Built on the official ubuntu:24.04 image with a pinned digest for reproducibility.
app, UID/GID 10001) — containers run unprivileged by default/work as the default working directoryIntentionally lean — no package manager cache, no shells beyond bash, no extras. Extend it, don't bloat it.
FROM ksnarf/ubuntu:latest
# Your layers here
COPY --chown=app:app . /work
CMD ["your-entrypoint"]
| Arg | Default | Description |
|---|---|---|
UBUNTU_TAG | 24.04 | Ubuntu version tag |
UBUNTU_DIGEST | sha256:2e86... | Pinned digest for reproducibility |
APP_USER | app | Non-root username |
APP_UID | 10001 | User UID |
APP_GID | 10001 | Group GID |
tini as entrypoint ensures proper PID 1 behavior (signal forwarding, zombie reaping)USER root only when necessaryContent type
Image
Digest
sha256:2d997466e…
Size
32 MB
Last updated
8 months ago
docker pull ksnarf/ubuntu