Provides an up to date full-fledged CentOS image build from scratch.
This image contains
yum to install additional RPM packages. Only documentations, caches and
additional locales are omitted. This may be helpful to use Docker images in a Linux distribution way where you can hook
into the container and run ad hoc commands for development and debugging purposes. Consider to use not a full-fledged
Linux distribution in your Docker containers for production. Starting from a Linux distribution you can use a multi
stage build and remove
everything you don't need. Or compile the executable statically linked from scratch.
For this image
yum will be configured to run all commands in non interactive mode and to
skip the installation of documentation files.
CentOS v7 use a
MAJOR.MINOR.PATCH version schema with a date code
YYMM as PATCH
version. But effectively there are no PATCH releases although continuously patched RPMs are released.
Contrary to the official one you can use this docker image as up to date one without floating
centos7 to ensure reproducible builds.
This image is intended to be used as base image.
Run temporary container with a bash to be used interactively
docker \ run \ --rm \ -ti \ ergomentum/centos \ bash
See CONTRIBUTING for details.
See the LICENSE file for license
rights and limitations (Apache License, Version 2.0).
K. Matthias & S. P. Kane, Docker Up & Running. Sebastopol: O’Reilly Media Inc., 2015, p. 20.