Custom base image for Docker
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
.dockerignore
.gitignore
Dockerfile
LICENSE.md
README.md

README.md

docker-base-image

Docker Hub

This repository contains the Dockerfile and the configuration files to build a base image for Docker.

Base Docker Image

Installation

docker build -t mkaag/baseimage github.com/mkaag/docker-baseimage

Usage

Basic usage

docker run -ti --rm mkaag/baseimage /sbin/my_init -- bash -l

Using as base image

FROM mkaag/baseimage:latest

# Use baseimage-docker's init system.
CMD ["/sbin/my_init"]

# ...put your own build instructions here...

# Clean up APT when done.
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*