Created
June 14, 2013 03:38
-
-
Save paulczar/5779298 to your computer and use it in GitHub Desktop.
Chef-Zero Docker File
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Chef-Zero | |
# | |
# VERSION 0.0.1 | |
FROM base | |
MAINTAINER Paul Czarkowski "[email protected]" | |
RUN apt-get update | |
RUN apt-get install -y ruby1.9.1-dev build-essential | |
RUN gem install chef-zero | |
RUN apt-get remove -y build-essential | |
RUN apt-get clean | |
RUN /usr/local/bin/chef-zero -H 0.0.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
running apt-get clean in a separate
RUN
layer doesn't actually remove the overhead from previousRUN apt-get
layers. You'd need to combine all those layers into a single layer to get the benefit.