summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2021-01-08 09:26:17 -0800
committerTim Smith <tsmith84@gmail.com>2021-01-08 11:43:17 -0800
commit84b3316258ba74e961061c789baabd5e1f2d8bf0 (patch)
treebb9bacf14ca4e6c56cff1c231055f9a6cf716eb6
parent419a887df6ec785cf795b289211cb40a832fa5f1 (diff)
downloadchef-84b3316258ba74e961061c789baabd5e1f2d8bf0.tar.gz
Make sure our containers work on RHEL 6container_15
We need to still install on RHEL 6 so we get GLIBC 2.12 support Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 488d5805b4..ce5b919349 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -26,7 +26,7 @@ ARG VERSION=15.15.0
ENV VERSION ${EXPEDITOR_VERSION:-${VERSION}}
ENV CHANNEL ${EXPEDITOR_CHANNEL:-${CHANNEL}}
-RUN wget "http://packages.chef.io/files/${CHANNEL}/chef/${VERSION}/el/7/chef-${VERSION}-1.el7.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