Skip to content

Commit 4040b30

Browse files
authored
Merge pull request #1308 from microsoftgraph/feature/ps-image
- adds docker image definition
2 parents 6ff141f + c1ffd1c commit 4040b30

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM mcr.microsoft.com/powershell
2+
3+
ARG MODULE_VERSION=latest
4+
5+
RUN pwsh -c "if ('${MODULE_VERSION}' -eq 'latest') { Install-Module Microsoft.Graph -Scope CurrentUser -AllowClobber -Force} else { Install-Module Microsoft.Graph -Scope CurrentUser -AllowClobber -Force -Version ${MODULE_VERSION} }"
6+
7+
LABEL description="# Welcome to Microsoft Graph PowrShell \
8+
To start learning about the module checkout the [getting started documentation](https://docs.microsoft.com/en-us/powershell/microsoftgraph/get-started)"

0 commit comments

Comments
 (0)