Merge pull request #98 from tfenster/master

Show matching version in sample
This commit is contained in:
Tianon Gravi 2022-03-17 09:48:24 -07:00 committed by GitHub
commit 8326145f5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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/