Merge pull request #5420 from inspec/cw/add-git-to-docker

Add git to Docker build
This commit is contained in:
Clinton Wolfe 2021-03-01 15:55:15 -05:00 committed by GitHub
commit b42dbac3c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,6 +26,9 @@ RUN apt-get update && \
rpm2cpio /tmp/inspec.rpm | cpio -idmv && \
rm -rf /tmp/inspec.rpm
# Install any packages that make life easier for an InSpec installation
RUN apt-get install -y git
ENTRYPOINT ["inspec"]
CMD ["help"]
VOLUME ["/share"]