diff options
author | Tom Duffield <tom@chef.io> | 2016-11-28 11:35:31 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-28 11:35:31 -0600 |
commit | 315b821c6ce131f9d365d47cb2b4e24b6700b511 (patch) | |
tree | 538c10543256eb9b5971ef03067b2e9984d07a98 | |
parent | 1991cf97660a38e704eb4cd9609ed6ea84a35442 (diff) | |
parent | e725164a439cd6536057f786075d8c34570a6c1c (diff) | |
download | chef-315b821c6ce131f9d365d47cb2b4e24b6700b511.tar.gz |
Merge pull request #5545 from chef/tduffield/add-dockerfile
Add Dockerfile to root
-rw-r--r-- | Dockerfile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000..1836ffb39b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM busybox +MAINTAINER Chef Software, Inc. <docker@chef.io> + +ARG CHANNEL=stable +ARG VERSION=12.16.42 + +RUN wget "http://packages.chef.io/files/${CHANNEL}/chef/${VERSION}/el/5/chef-${VERSION}-1.el5.x86_64.rpm" -O /tmp/chef-client.rpm && \ + rpm2cpio /tmp/chef-client.rpm | cpio -idmv && \ + rm -rf /tmp/chef-client.rpm + +VOLUME [ "/opt/chef" ] |