Fix version in Windows examples

This commit is contained in:
Tobias Fenster 2021-11-18 16:04:21 +01:00 committed by Tianon Gravi
parent dcc88fb473
commit c816763efd
3 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ $(C_TARGETS): hello.c $(MUSL_GCC)
'$@' | sed \
-e 's/[(]$(TARGET_ARCH)[)]/(windows-$(TARGET_ARCH), '"$$winVariant"')/g' \
-e 's/an Ubuntu container/a Windows Server container/g' \
-e 's!ubuntu bash!mcr.microsoft.com/windows/servercore:ltsc2019 powershell!g' \
-e 's!ubuntu bash!mcr.microsoft.com/windows/servercore:'"$${winVariant##*-}"' powershell!g' \
-e 's![$$] docker!PS C:\\> docker!g' \
> "$(@D)/$$winVariant/hello.txt"; \
done; \

View File

@ -12,7 +12,7 @@ To generate this message, Docker took the following steps:
to your terminal.
To try something more ambitious, you can run a Windows Server container with:
PS C:\> docker run -it mcr.microsoft.com/windows/servercore:ltsc2019 powershell
PS C:\> docker run -it mcr.microsoft.com/windows/servercore:1809 powershell
Share images, automate workflows, and more with a free Docker ID:
https://hub.docker.com/

View File

@ -12,7 +12,7 @@ To generate this message, Docker took the following steps:
to your terminal.
To try something more ambitious, you can run a Windows Server container with:
PS C:\> docker run -it mcr.microsoft.com/windows/servercore:ltsc2019 powershell
PS C:\> docker run -it mcr.microsoft.com/windows/servercore:ltsc2022 powershell
Share images, automate workflows, and more with a free Docker ID:
https://hub.docker.com/