mirror of
https://github.com/inspec/inspec
synced 2024-12-18 00:53:22 +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
|