Skip to content

Commit 4fe92d3

Browse files
committed
fix: switch to top level profile to avoid overriding user profile
1 parent 87a7ee6 commit 4fe92d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

toolboxes/powershell-toolbox/Containerfile.powershell

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ RUN apk upgrade \
2525
&& curl -LSfs https://raw.githubusercontent.com/cantino/mcfly/master/ci/install.sh | sh -s -- --git cantino/mcfly \
2626
&& mkdir -p ~/.config/powershell \
2727
&& cp /tmp/Microsoft.PowerShell_profile.ps1 ~/.config/powershell \
28+
&& cp /tmp/profile.ps1 "$(~/.dotnet/tools/pwsh -Command "\$PROFILE.AllUsersAllHosts")" \
2829
&& mkdir -p ~/.local/share/powershell/PSReadLine \
2930
&& touch ~/.local/share/powershell/PSReadLine/ConsoleHost_history.txt \
3031
&& rm -rf /tmp/*

0 commit comments

Comments
 (0)