summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 9b47f4f1703c9d6c71e4f045e5f7395ffeb2350a (plain)
1
2
3
4
5
6
7
8
9
10
11
FROM busybox
MAINTAINER Chef Software, Inc. <docker@chef.io>

ARG CHANNEL=stable
ARG VERSION=14.6.47

RUN wget "http://packages.chef.io/files/${CHANNEL}/chef/${VERSION}/el/6/chef-${VERSION}-1.el6.x86_64.rpm" -O /tmp/chef-client.rpm && \
    rpm2cpio /tmp/chef-client.rpm | cpio -idmv && \
    rm -rf /tmp/chef-client.rpm

VOLUME [ "/opt/chef" ]