Skip to content

Instantly share code, notes, and snippets.

@sawanoboly
Created July 8, 2013 03:47
Show Gist options
  • Save sawanoboly/5946125 to your computer and use it in GitHub Desktop.
Save sawanoboly/5946125 to your computer and use it in GitHub Desktop.
Omnibus Chef install for Docker ``` docker build -t omnibus-chef . docker run -i -t omnibus-chef /bin/bash ```
# Omnibus Chef Client
#
# VERSION 0.0.1
FROM ubuntu
MAINTAINER Yukihiko Sawanobori "[email protected]"
# install curl
RUN apt-get update
RUN apt-get install -y curl
# install omunibus-chef
RUN curl -L https://www.opscode.com/chef/install.sh -o /tmp/install.sh
RUN bash /tmp/install.sh
RUN rm /tmp/install.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment