Skip to content

Instantly share code, notes, and snippets.

@obazoud
Last active August 29, 2015 13:57
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 obazoud/9730210 to your computer and use it in GitHub Desktop.
Save obazoud/9730210 to your computer and use it in GitHub Desktop.
Docker image Chef - CentOS
FROM centos:6.4
RUN curl -L https://www.opscode.com/chef/install.sh | bash
RUN yum clean all
RUN yum install -y sudo openssh-server openssh-clients curl
RUN sed -i '/requiretty/c\# Defaults requiretty' /etc/sudoers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment