Skip to content

Commit

Permalink
Use windows/nanoserver:ltsc2022 as base image
Browse files Browse the repository at this point in the history
  • Loading branch information
gesellix committed Feb 28, 2022
1 parent 4cc88f0 commit 5adfdf2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ public DockerRegistry() {
this.imageApi = new ImageApi(dockerClientConfig);

if (LocalDocker.isNativeWindows()) {
imageNameWithTag = "gesellix/registry:2.7.1-windows";
imageNameWithTag = "gesellix/registry:2.7.1-windows-ltsc2022";
// imageNameWithTag = "gesellix/registry:2.7.1-windows-ltsc2019";
// imageNameWithTag = "gesellix/registry:2.7.1-windows-1809";
// imageNameWithTag = "gesellix/registry:2.7.1-windows";
}
else {
imageNameWithTag = "registry:2.8";
Expand Down
4 changes: 3 additions & 1 deletion registry-windows/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ RUN mkdir src\github.com\docker ; \
git checkout -q $env:DISTRIBUTION_VERSION ; \
go build -o registry.exe cmd/registry/main.go

FROM mcr.microsoft.com/windows/nanoserver:1809
FROM mcr.microsoft.com/windows/nanoserver:ltsc2022
#FROM mcr.microsoft.com/windows/servercore:ltsc2019
#FROM mcr.microsoft.com/windows/nanoserver:1809
#FROM mcr.microsoft.com/windows/nanoserver:sac2016
EXPOSE 5000

Expand Down

0 comments on commit 5adfdf2

Please sign in to comment.