add windows 2002 docker image

Signed-off-by: Cyril DUCHENOY <c.duchenoy@geco-it.fr>
main
c.duchenoy 1 year ago
parent ddade5c0db
commit 4a88d707c0
Signed by: c.duchenoy
GPG Key ID: 8308C6587A2648C4

3
.gitignore vendored

@ -22,3 +22,6 @@ _testmain.go
*.exe
*.test
*~

@ -0,0 +1,15 @@
FROM golang:windowsservercore AS build
COPY . /code
WORKDIR /code
RUN go get -d ./...
RUN go build http.go
FROM mcr.microsoft.com/windows/nanoserver:ltsc2022
COPY --from=build /code/http.exe /http.exe
EXPOSE 8080
CMD ["\\http.exe"]
Loading…
Cancel
Save