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:42:49 -0800
commit84b4ec490939d50264068d9d6ad8c2b212585ff4 (patch)
tree28d69f55899b1c16e513c83b8c7e89dce4913bdc
parent83b81fefc15dde5a54ff7cef89da25c5c4b6ab51 (diff)
downloadchef-container_16.tar.gz
Make sure our containers work on RHEL 6container_16
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 7cdffe78c1..248788bba5 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -20,7 +20,7 @@ LABEL maintainer="Chef Software, Inc. <docker@chef.io>"
ARG CHANNEL=stable
ARG VERSION=16.9.16
-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