Add Dockerfile to make it easier to test changes to vmfloaty by using Docker

This commit is contained in:
kirby@puppetlabs.com 2020-05-22 15:36:49 -07:00
parent 05a133fc72
commit 7b0a7679da
2 changed files with 18 additions and 0 deletions

12
.dockerignore Normal file
View file

@ -0,0 +1,12 @@
**/*.yml
**/*.yaml
**/*.md
**/*example
**/Dockerfile*
Gemfile.lock
Rakefile
coverage
spec
examples
scripts
vendor

6
Dockerfile Normal file
View file

@ -0,0 +1,6 @@
FROM ruby:2.7
COPY ./ ./
RUN apt-get update && apt-get install -y less
RUN gem install bundler && bundle install && gem build vmfloaty.gemspec && gem install vmfloaty*.gem