зеркало из
1
0
Форкнуть 0
This commit is contained in:
Bernie White 2019-10-12 22:20:36 +10:00 коммит произвёл GitHub
Родитель a8822b4102
Коммит 11d682aff8
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 25 добавлений и 3 удалений

Просмотреть файл

@ -10,7 +10,7 @@ This project is to be considered a **proof-of-concept** and **not a supported pr
For issues with rules and documentation please check our GitHub [issues](https://github.com/BernieWhite/PSRule.Rules.Azure/issues) page. If you do not see your problem captured, please file a new issue and follow the provided template.
If you have any problems with the [PSRule][engine] engine, please check the project GitHub [issues](https://github.com/BernieWhite/PSRule/issues) page instead.
If you have any problems with the [PSRule][engine] engine, please check the project GitHub [issues](https://github.com/Microsoft/PSRule/issues) page instead.
## Getting the modules
@ -170,4 +170,4 @@ This project is [licensed under the MIT License](LICENSE).
[install]: docs/scenarios/install-instructions.md
[ci-badge]: https://dev.azure.com/bewhite/PSRule.Rules.Azure/_apis/build/status/PSRule.Rules.Azure-CI?branchName=master
[module]: https://www.powershellgallery.com/packages/PSRule.Rules.Azure
[engine]: https://github.com/BernieWhite/PSRule
[engine]: https://github.com/Microsoft/PSRule

Просмотреть файл

@ -3,7 +3,7 @@
## Prerequisites
- Windows PowerShell 5.1 with .NET Framework 4.7.2+ or
- PowerShell Core 6.0 or greater on Windows, MacOS and Linux
- PowerShell Core 6.2 or greater on Windows, MacOS and Linux
For a list of platforms that PowerShell Core is supported on [see](https://github.com/PowerShell/PowerShell#get-powershell).
@ -18,6 +18,8 @@ The required version of each module will automatically be installed along-side `
## Getting the modules
### PowerShell Gallery
Install from [PowerShell Gallery][module] for all users (requires permissions):
```powershell
@ -45,4 +47,24 @@ Save-Module -Name 'PSRule', 'PSRule.Rules.Azure', 'Az.Accounts', 'Az.Resources',
>
> `Install-Module -Name PowerShellGet -Repository PSGallery -Scope CurrentUser -Force`
### Docker images
A preinstalled Docker image is available for Linux or Windows with Linux containers.
To download this image from Docker CLI:
```bash
docker login docker.pkg.github.com -u <username> -p <pat_token>
docker pull docker.pkg.github.com/berniewhite/images/ps-rule-azure:latest-alpine
```
To use this image from Docker CLI:
```bash
docker run -it docker.pkg.github.com/berniewhite/images/ps-rule-azure:latest-alpine
```
A list of available tags is available [here][docker-image].
[module]: https://www.powershellgallery.com/packages/PSRule.Rules.Azure
[docker-image]: https://github.com/BernieWhite/images/blob/master/docker/ps-rule-azure/README.md