Public Repository

Last pushed: 2 years ago
Short Description
A tiny Scientific Linux 7.2 install with docs, locales, systemd, etc stripped out.
Full Description

This is Scientific Linux 7.2 image that has been flattened and had the following stripped out:

  • locales
  • man pages
  • yum
  • systemd

Overall it's about half of the size of lincolnbryant/sl7.

Full Dockerfile as follows:

FROM lincolnbryant/sl7
MAINTAINER Lincoln Bryant <lincolnb@uchicago.edu>

# This container is a slimmed-down SL7 image.

# remove systemd. we don't need a system manager in a docker image
RUN rpm -e --nodeps systemd

# Don't update packages within the container
RUN rpm -e --nodeps yum

# Remove man pages
RUN rm -rf /usr/share/doc/*

# Remove extraneous locales
# http://unix.stackexchange.com/questions/90006/how-do-i-reduce-the-size-of-locale-archive
RUN localedef --list-archive | grep -v -i ^en | xargs localedef --delete-from-archive
RUN mv /usr/lib/locale/locale-archive /usr/lib/locale/locale-archive.tmpl
RUN build-locale-archive
RUN rm -rf /usr/share/locale/*/LC_MESSAGES
RUN rm -rf /usr/share/locale/*/LC_TIME
Docker Pull Command
Owner
lincolnbryant