forked from Azure/azure-powershell
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add -Scope AllUsers to docker images (Azure#12995)
- Loading branch information
1 parent
06a8f77
commit ade5ecd
Showing
4 changed files
with
4 additions
and
4 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,7 +31,7 @@ LABEL maintainer="Azure PowerShell Team <[email protected]>" \ | |
|
||
# install azure-powershell from PSGallery | ||
RUN pwsh -Command Set-PSRepository -Name ${REPOSITORY} -InstallationPolicy Trusted && \ | ||
pwsh -Command Install-Module -Name ${MODULE} -RequiredVersion ${VERSION} -Repository ${REPOSITORY} && \ | ||
pwsh -Command Install-Module -Name ${MODULE} -RequiredVersion ${VERSION} -Scope AllUsers -Repository ${REPOSITORY} && \ | ||
pwsh -Command Set-PSRepository -Name ${REPOSITORY} -InstallationPolicy Untrusted | ||
|
||
# create AzureRmContextSettings.json before it was generated | ||
|
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,7 +31,7 @@ LABEL maintainer="Azure PowerShell Team <[email protected]>" \ | |
|
||
# install azure-powershell from PSGallery | ||
RUN pwsh -Command Set-PSRepository -Name ${REPOSITORY} -InstallationPolicy Trusted && \ | ||
pwsh -Command Install-Module -Name ${MODULE} -RequiredVersion ${VERSION} -Repository ${REPOSITORY} && \ | ||
pwsh -Command Install-Module -Name ${MODULE} -RequiredVersion ${VERSION} -Scope AllUsers -Repository ${REPOSITORY} && \ | ||
pwsh -Command Set-PSRepository -Name ${REPOSITORY} -InstallationPolicy Untrusted | ||
|
||
# create AzureRmContextSettings.json before it was generated | ||
|
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,7 +31,7 @@ LABEL maintainer="Azure PowerShell Team <[email protected]>" \ | |
|
||
# install azure-powershell from PSGallery | ||
RUN pwsh -Command Set-PSRepository -Name ${REPOSITORY} -InstallationPolicy Trusted && \ | ||
pwsh -Command Install-Module -Name ${MODULE} -RequiredVersion ${VERSION} -Repository ${REPOSITORY} && \ | ||
pwsh -Command Install-Module -Name ${MODULE} -RequiredVersion ${VERSION} -Scope AllUsers -Repository ${REPOSITORY} && \ | ||
pwsh -Command Set-PSRepository -Name ${REPOSITORY} -InstallationPolicy Untrusted | ||
|
||
# create AzureRmContextSettings.json before it was generated | ||
|
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,7 +31,7 @@ LABEL maintainer="Azure PowerShell Team <[email protected]>" \ | |
|
||
# install azure-powershell from PSGallery | ||
RUN pwsh -Command Set-PSRepository -Name ${REPOSITORY} -InstallationPolicy Trusted && \ | ||
pwsh -Command Install-Module -Name ${MODULE} -RequiredVersion ${VERSION} -Repository ${REPOSITORY} && \ | ||
pwsh -Command Install-Module -Name ${MODULE} -RequiredVersion ${VERSION} -Scope AllUsers -Repository ${REPOSITORY} && \ | ||
pwsh -Command Set-PSRepository -Name ${REPOSITORY} -InstallationPolicy Untrusted | ||
|
||
# create AzureRmContextSettings.json before it was generated | ||
|