summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-01-30 12:25:09 -0800
committerTim Smith <tsmith@chef.io>2018-01-30 12:25:09 -0800
commit0f3605cba64c132aa04c0cd7c763d64bb57995a6 (patch)
treeb8830cd11b3924c6727620a6c159ef9ba7d7c9b1
parent4baf20262d22f984008e3d7a5ca0afbbbe4c0866 (diff)
downloadchef-0f3605cba64c132aa04c0cd7c763d64bb57995a6.tar.gz
Fix Dockerfile to build off EL6 not EL5
EL5 is EOL and we're not publishing these anymore. I also updated the default stable release to a current release. Not sure why that wasn't getting done. I doubt anyone uses this like this, but why not. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index cf1f1a64dd..6ebc04f7b1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,9 +2,9 @@ FROM busybox
MAINTAINER Chef Software, Inc. <docker@chef.io>
ARG CHANNEL=stable
-ARG VERSION=12.19.36
+ARG VERSION=12.21.31
-RUN wget "http://packages.chef.io/files/${CHANNEL}/chef/${VERSION}/el/5/chef-${VERSION}-1.el5.x86_64.rpm" -O /tmp/chef-client.rpm && \
+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