mirror of
https://github.com/inspec/inspec
synced 2024-11-23 05:03:07 +00:00
10 lines
250 B
Docker
10 lines
250 B
Docker
FROM ruby:alpine
|
|
RUN mkdir /share
|
|
COPY inspec.gem /
|
|
RUN apk add --update build-base libxml2-dev libffi-dev && \
|
|
gem install /inspec.gem --no-document && \
|
|
apk del build-base
|
|
ENTRYPOINT ["inspec"]
|
|
CMD ["help"]
|
|
VOLUME ["/share"]
|
|
WORKDIR /share
|