Customised Ubuntu base image.
Builds of the image are available on Docker Hub.
docker pull dockeirorock/ubuntuAlternatively you can build the image yourself.
git clone https://github.com/dockeiro/docker-ubuntu.git && \
cd docker-ubuntu && \
ARCH=$(dpkg --print-architecture)&& \
echo ARCH loaded: ${ARCH} && \
docker build --no-cache \
--build-arg IMAGE=dockeirorock/ubuntu \
--build-arg BUILD_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
--build-arg VERSION=$(cat VERSION) \
--build-arg VCS_REF=$(git rev-parse --short HEAD) \
--build-arg VCS_URL=$(git config --get remote.origin.url) \
--build-arg ARCH=${ARCH} \
--tag dockeirorock/ubuntu:$(cat VERSION)-${ARCH} \
--rm ./sbin/entrypoint.shis defined as the entrypoint/sbin/init.d/*.share sourced if present- Use for example
CMD [ "/sbin/init.sh" ]in a child image to run your process - Docker environment variables
INIT_DEBUG=trueenable verbose outputINIT_TRACE=truepass the main process tostrace(use along with the Docker flag--privileged)INIT_RUN_AS=rootstart the main process as a privileged userINIT_GOSU=truemake use ofgosu(default)
- None for now