JanneMattila / azure-powershell-job

Azure PowerShell Job

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Azure PowerShell Job

Build Status Docker Pulls License: MIT

Azure PowerShell Job enables you to run Azure PowerShell script automations.

Local development

cd src

# Build
docker build . -t azure-powershell-job:latest --build-arg BUILD_VERSION=local

# Build (DEBUG)
docker build . -t azure-powershell-job:latest --build-arg BUILD_VERSION=local --progress=plain --no-cache

# Run interactively
docker run -it --rm azure-powershell-job:latest

docker run -e AZURE_CLIENT_ID="123" -e SCRIPT_FILE="/scripts/example-job1.ps1" -it --rm azure-powershell-job:latest
docker run -e AZURE_CLIENT_ID="123" -e AZURE_TENANT_ID="123" -e AZURE_FEDERATED_TOKEN_FILE="/bin/run.ps1" -e SCRIPT_FILE="/scripts/example-job1.ps1" -it --rm azure-powershell-job:latest

Azure/azure-powershell

mcr.microsoft.com/azure-powershell

Using Azure PowerShell in a Docker container

hub.docker.com/microsoft-powershell

hub.docker.com/microsoft-azure-powershell

mcr.microsoft.com/azure-powershell

PowerShell-Docker

About

Azure PowerShell Job

License:MIT License


Languages

Language:PowerShell 81.5%Language:Dockerfile 18.5%