-
Notifications
You must be signed in to change notification settings - Fork 312
PowerShell v6.0.0-alpha.14 is crashing in Container interactive terminals #492
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
Comments
Same happens with Alpha.15, I just appended an diff --git a/docker/release/windowsservercore/Dockerfile b/docker/release/windowsservercore/Dockerfile
index b31d36b..1d0b4ce 100644
--- a/docker/release/windowsservercore/Dockerfile
+++ b/docker/release/windowsservercore/Dockerfile
@@ -4,8 +4,8 @@ MAINTAINER brycem@microsoft.com
LABEL Readme.md="https://github.com/PowerShell/PowerShell/blob/master/docker/README.md"
LABEL Description="This Dockerfile will install the latest release of PS."
-ARG POWERSHELL_MSI=https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.14/PowerShell_6.0.0.14-alpha.14-win10-x64.msi
-ARG POWERSHELL_SHA256=503F3AD52223699765895D3E9615FBD7988194693BCB725BE90C9EF0CD594447
+ARG POWERSHELL_MSI=https://github.com/PowerShell/PowerShell/releases/download/v6.0.0-alpha.15/PowerShell_6.0.0-alpha.15-win10-win2k16-x64.msi
+ARG POWERSHELL_SHA256=CC52D21F3287E412B9C3B73C98BB5B06F8056D49D63201072216DF92B7F2E59B
# Setup PowerShell - Log-to > C:\Docker.log
SHELL ["C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", "-command"]
@@ -46,3 +46,5 @@ RUN Start-Transcript -path C:\Dockerfile.log -append -IncludeInvocationHeader ;
# Persist %PSCORE% ENV variable for user convenience
ENV PSCORE='"C:\Program Files\PowerShell\Core\PowerShell.exe"'
+
+ENTRYPOINT ["C:\\Program Files\\PowerShell\\Core\\PowerShell.exe"]
Then I tried to paste some text into the interactive terminal and the following error happens.
I only can press return to get a new prompt, but typing any other character the error also occurs.
|
The same happens with alpha.18 using a container base image from microsoft/powershell. |
This should be fixed PowerShell/PowerShell#3815 |
Closing - the font related code is gone from this repo. |
step1:
docker build https://raw.githubusercontent.com/PowerShell/PowerShell/master/docker/release/nanoserver/Dockerfile -t alpha.14
step2:
docker run -it --rm alpha.14 "c:\Program Files\PowerShell\Core\powershell.exe"
step3:
type something...
result:
notes
this wasn't happening in Alpha.12... Seems to happen independent of the TTY terminal used (I tied minty.exe, vscode.exe, cmd.exe, and desktop powershell.exe on Win10 client)
In a newer version of the dockerfile I'm working on, this same build shows it working in in non-interactive mode. Also repros in windowsservercore
The text was updated successfully, but these errors were encountered: