inspec/Dockerfile

15 lines
390 B
Docker
Raw Normal View History

2016-04-13 03:58:18 +00:00
FROM ruby:alpine
LABEL maintainer="Chef Software, Inc. <docker@chef.io>"
ARG VERSION=4.24.8
ARG CHANNEL=stable
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
2016-04-13 03:58:18 +00:00
ENTRYPOINT ["inspec"]
CMD ["help"]
VOLUME ["/share"]
WORKDIR /share