Skip to content

dockeiro/docker-ubuntu

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Circle CI Size Version Commit Docker Hub

Docker Ubuntu

Customised Ubuntu base image.

Installation

Builds of the image are available on Docker Hub.

docker pull dockeirorock/ubuntu

Alternatively 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 .

Configuration

  • /sbin/entrypoint.sh is defined as the entrypoint
  • /sbin/init.d/*.sh are sourced if present
  • Use for example CMD [ "/sbin/init.sh" ] in a child image to run your process
  • Docker environment variables
    • INIT_DEBUG=true enable verbose output
    • INIT_TRACE=true pass the main process to strace (use along with the Docker flag --privileged)
    • INIT_RUN_AS=root start the main process as a privileged user
    • INIT_GOSU=true make use of gosu (default)

TODO

  • None for now

About

Customised Ubuntu base image

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 55.3%
  • Dockerfile 44.7%