Skip to content

Instantly share code, notes, and snippets.

@richardsonlima
Last active January 25, 2016 20:01
Show Gist options
  • Save richardsonlima/6125b332ae68d97899b6 to your computer and use it in GitHub Desktop.
Save richardsonlima/6125b332ae68d97899b6 to your computer and use it in GitHub Desktop.
# Rename this file to Dockerfile
FROM scratch
MAINTAINER The CentOS Project <cloud-ops@centos.org>
ADD centos-7.2.1511-docker.tar.xz /
LABEL name="CentOS Base Image"
LABEL vendor="CentOS"
LABEL license=GPLv2
# Volumes for systemd
# VOLUME ["/run", "/tmp"]
# Environment for systemd
# ENV container=docker
# For systemd usage this changes to /usr/sbin/init
# Keeping it as /bin/bash for compatability with previous
CMD ["/bin/bash"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment