diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile index 372ecfcd4e..f6b6b28b21 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,8 +19,10 @@ LABEL maintainer="Chef Software, Inc. <docker@chef.io>" ARG CHANNEL=stable ARG VERSION=17.3.48 +ARG ARCH=x86_64 +ARG PKG_VERSION=6 -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/${PKG_VERSION}/chef-${VERSION}-1.el${PKG_VERSION}.${ARCH}.rpm" -O /tmp/chef-client.rpm && \ rpm2cpio /tmp/chef-client.rpm | cpio -idmv && \ rm -rf /tmp/chef-client.rpm |