-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support use Docker container locally and in Travis CI (#32)
* Use gem to replace local utility library. * Add Dockerfile to run rake build. * Removed non-system gem packages and update travis ci to use docker container. * Update the Dockerfile to use environment variable. * Set ruby version by default to avoid unnecessary warnings due to gemfile.
- Loading branch information
Showing
7 changed files
with
30 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,4 +31,4 @@ tags | |
Gemfile.lock | ||
|
||
# Test Kitchen files. | ||
.kitchen | ||
.kitchen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM microsoft/terraform-test:0.11.1 | ||
|
||
ENV MODULE_NAME terraform-azurerm-compute | ||
|
||
RUN mkdir /usr/src/${MODULE_NAME} | ||
COPY . /usr/src/${MODULE_NAME} | ||
|
||
WORKDIR /usr/src/${MODULE_NAME} | ||
RUN ["bundle", "install", "--gemfile", "./Gemfile"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.