Ubuntu container for use as base for other containers.
docker build \
--build-arg "TARGETPLATFORM=..." \
--build-arg "LANGUAGE=..." \
--build-arg "ENCODING=..." \
--build-arg "S6_OVERLAY_VERSION=..." \
-t base-ubuntu .
TARGETPLATFORM
- Set by Docker Buildx automatically. Currently supported platforms areamd64
,arm/v7
,arm64
,ppc64le
ands390x
. This should be set automatically even if building locally using standard Docker CLI.LANGUAGE
- The language code that is set globally for the system. Defaults toen_US
. See locale for more details.ENCODING
- Character encoding that is set globally for the system. Defaults toUTF-8
. See locale for more details.S6_OVERLAY_VERSION
- Version of the s6 overlay that is installed. This is automatically updated to the latest release and should only really need to be set manually if trying out a new version locally when building. Only versions 3 and higher are supported.
This container is intended to be used as a base for other containers. It will work as an interactive environment but doesn't provide much more then the standard Ubuntu container.
This is the intended usage.
FROM ghcr.io/devpow112/base-ubuntu:latest
...
Not recommended but will work if you need a quick Ubuntu environment to do testing with.
docker run --it --rm \
--entrypoint /bin/bash \
ghcr.io/devpow112/base-ubuntu:latest