2016-04-13 03:58:18 +00:00
|
|
|
FROM ruby:alpine
|
2019-08-08 14:01:01 +00:00
|
|
|
LABEL maintainer="Chef Software, Inc. <docker@chef.io>"
|
2017-09-14 19:16:29 +00:00
|
|
|
|
2020-12-18 21:15:38 +00:00
|
|
|
ARG VERSION=4.24.8
|
2020-12-18 21:01:11 +00:00
|
|
|
ARG CHANNEL=stable
|
2017-09-14 19:16:29 +00:00
|
|
|
|
2020-12-18 21:01:11 +00:00
|
|
|
RUN wget "http://packages.chef.io/files/${CHANNEL}/inspec/${VERSION}/el/7/inspec-${VERSION}-1.el7.x86_64.rpm" -O /tmp/inspec.rpm && \
|
|
|
|
rpm2cpio /tmp/inspec.rpm | cpio -idmv && \
|
|
|
|
rm -rf /tmp/inspec.rpm
|
2019-04-26 17:34:08 +00:00
|
|
|
|
2016-04-13 03:58:18 +00:00
|
|
|
ENTRYPOINT ["inspec"]
|
|
|
|
CMD ["help"]
|
|
|
|
VOLUME ["/share"]
|
|
|
|
WORKDIR /share
|