Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Update nano server insider for new bulid#4555

Merged
TravisEz13 merged 4 commits into
PowerShell:masterPowerShell/PowerShell:masterfrom
TravisEz13:Update_NanoServerInsider_for_New_BulidTravisEz13/PowerShell:Update_NanoServerInsider_for_New_BulidCopy head branch name to clipboard
Aug 12, 2017
Merged

Update nano server insider for new bulid#4555
TravisEz13 merged 4 commits into
PowerShell:masterPowerShell/PowerShell:masterfrom
TravisEz13:Update_NanoServerInsider_for_New_BulidTravisEz13/PowerShell:Update_NanoServerInsider_for_New_BulidCopy head branch name to clipboard

Conversation

@TravisEz13

Copy link
Copy Markdown
Member

Also, Address #4310


# setx /M fails on nanoserver-insider, setting the user path
# Set the path
RUN setx PATH "%PATH%;%ProgramFiles%\PowerShell"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious, setx /M is not necessary on nanoserver because it's a single user OS, correct?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct, they fixed the container to use the per user path.

# Set the path
RUN setx PATH "%PATH%;%ProgramFiles%\PowerShell"

CMD ["C:\\Program Files\\PowerShell\\PowerShell.exe"]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In docker/README.md:

Due to an issue with the container not picking up the path, you must specify the path when running a command on the command line.

Looks like the PATH issue has been fixed, so the document should be updated.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a note that it will be fixed soon. I have to setup a build machine matching the exact build of the container, which might take me some time.

@adityapatwardhan adityapatwardhan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@TravisEz13 TravisEz13 merged commit 7ae955f into PowerShell:master Aug 12, 2017
@TravisEz13 TravisEz13 deleted the Update_NanoServerInsider_for_New_Bulid branch August 12, 2017 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.