Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install.ps1 fails against servercore docker image #306

Open
Learath opened this issue Jan 1, 2019 · 1 comment
Open

Install.ps1 fails against servercore docker image #306

Learath opened this issue Jan 1, 2019 · 1 comment

Comments

@Learath
Copy link

Learath commented Jan 1, 2019

`FROM mcr.microsoft.com/windows/servercore

SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]

RUN . { iwr -useb https://omnitruck.chef.io/install.ps1 } | iex; install
`

Fails with

`Exception setting "OutputEncoding": "The request is not supported.
"
At line:2 char:1

  • [Console]::OutputEncoding = New-Object -typename System.Text.ASCIIEnc ...
  •   + CategoryInfo          : NotSpecified: (:) [], ParentContainsErrorRecordE
     xception
      + FullyQualifiedErrorId : ExceptionWhenSetting`
    
@tas50 tas50 transferred this issue from chef/omnitruck Dec 31, 2019
@tas50
Copy link
Contributor

tas50 commented Dec 31, 2019

Moving this over to mixlib-install since that's where the install.ps1 comes from.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants