summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-11-30 15:59:06 -0800
committerTim Smith <tsmith84@gmail.com>2020-11-30 15:59:06 -0800
commit9fef56249b3e6510d9a2189335f783ccaf9e68ee (patch)
tree3819927c5d75008c30375e91f87e9e020554b59d /Dockerfile
parentbe0f45814283c5da4742b1e1c79524a93b86e1d0 (diff)
downloadchef-9fef56249b3e6510d9a2189335f783ccaf9e68ee.tar.gz
Update the Docker file to use the RHEL 7 packagerhel7_docker
These are the same package, but in a while we're get rid of RHEL 6 and this will break. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 7a31be9560..56a6f61940 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -20,7 +20,7 @@ LABEL maintainer="Chef Software, Inc. <docker@chef.io>"
ARG CHANNEL=stable
ARG VERSION=16.7.61
-RUN wget "http://packages.chef.io/files/${CHANNEL}/chef/${VERSION}/el/6/chef-${VERSION}-1.el6.x86_64.rpm" -O /tmp/chef-client.rpm && \
+RUN wget "http://packages.chef.io/files/${CHANNEL}/chef/${VERSION}/el/7/chef-${VERSION}-1.el7.x86_64.rpm" -O /tmp/chef-client.rpm && \
rpm2cpio /tmp/chef-client.rpm | cpio -idmv && \
rm -rf /tmp/chef-client.rpm