Add "ltsc2019" tag to example Windows one-liner (#85)

This commit is contained in:
Larry Claman 2021-02-23 13:58:45 -05:00 committed by GitHub
parent 92f8ec31eb
commit a6fdcbffb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,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 powershell!g' \
-e 's!ubuntu bash!mcr.microsoft.com/windows/servercore:ltsc2019 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 powershell
PS C:\> docker run -it mcr.microsoft.com/windows/servercore:ltsc2019 powershell
Share images, automate workflows, and more with a free Docker ID:
https://hub.docker.com/