Skip to content

Instantly share code, notes, and snippets.

@dataday
Created August 24, 2017 13:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dataday/ea988ebe6317748ce1c292e7d00bfead to your computer and use it in GitHub Desktop.
Save dataday/ea988ebe6317748ce1c292e7d00bfead to your computer and use it in GitHub Desktop.
Dockerfile for CentOS7
FROM centos:centos7
MAINTAINER dataday <dataday@domain.co.uk>
COPY repositories/ /etc/yum.repos.d/
RUN yum update -y && yum install -y yum-utils
COPY bashrc /tmp/bashrc
RUN cat "/tmp/bashrc" >> ~/.bashrc && rm -f /tmp/bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment