Skip to content

Commit a6fdcbf

Browse files
authored
Add "ltsc2019" tag to example Windows one-liner (#85)
1 parent 92f8ec3 commit a6fdcbf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ $(C_TARGETS): hello.c $(MUSL_GCC)
3333
'$@' | sed \
3434
-e 's/[(]$(TARGET_ARCH)[)]/(windows-$(TARGET_ARCH), '"$$winVariant"')/g' \
3535
-e 's/an Ubuntu container/a Windows Server container/g' \
36-
-e 's!ubuntu bash!mcr.microsoft.com/windows/servercore powershell!g' \
36+
-e 's!ubuntu bash!mcr.microsoft.com/windows/servercore:ltsc2019 powershell!g' \
3737
-e 's![$$] docker!PS C:\\> docker!g' \
3838
> "$(@D)/$$winVariant/hello.txt"; \
3939
done; \

amd64/hello-world/nanoserver-1809/hello.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ To generate this message, Docker took the following steps:
1212
to your terminal.
1313

1414
To try something more ambitious, you can run a Windows Server container with:
15-
PS C:\> docker run -it mcr.microsoft.com/windows/servercore powershell
15+
PS C:\> docker run -it mcr.microsoft.com/windows/servercore:ltsc2019 powershell
1616

1717
Share images, automate workflows, and more with a free Docker ID:
1818
https://hub.docker.com/

0 commit comments

Comments
 (0)