Skip to content

Commit 7b0a767

Browse files
committed
Add Dockerfile to make it easier to test changes to vmfloaty by using Docker
1 parent 05a133f commit 7b0a767

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.dockerignore

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
**/*.yml
2+
**/*.yaml
3+
**/*.md
4+
**/*example
5+
**/Dockerfile*
6+
Gemfile.lock
7+
Rakefile
8+
coverage
9+
spec
10+
examples
11+
scripts
12+
vendor

Dockerfile

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM ruby:2.7
2+
3+
COPY ./ ./
4+
5+
RUN apt-get update && apt-get install -y less
6+
RUN gem install bundler && bundle install && gem build vmfloaty.gemspec && gem install vmfloaty*.gem

0 commit comments

Comments
 (0)