зеркало из https://github.com/microsoft/cobalt.git
e67f28ac7c | ||
---|---|---|
.. | ||
Dockerfile | ||
README.md |
README.md
Cobalt Test Base Image
This is the base image used for running terratest based unit and integration GO tests. This image comes pre-packaged with the following dependencies:
- Go programming language: Terraform test cases are written in Go.
- dep: dep is a dependency management tool for Go.
- Azure CLI: The Azure CLI is a command-line tool you can use to manage Azure resources. (Terraform supports authenticating to Azure through a service principal or via the Azure CLI.)
- mage: We use the mage go module to show you how to simplify running Terratest cases.
Getting Started
You can build this image locally using a different golang version following the example below.
Prerequisities
In order to run this container you'll need docker installed.
Usage
Image Build Parameters
govver
Golang version specification. This argument drives the version of the golang
stretch base image.
tfver
Terraform version specification. This argument drives which terraform version release this image will use.
docker build -f "test-harness\docker\base-images\Dockerfile" -t msftcse/cobalt-test-base:1.12.5 . --build-arg gover=1.12.5 tfver=0.12.2
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Authors
License
This project is licensed under the MIT License - see the LICENSE.md file for details.