Use only 1 Dockerfile for Windows

pull/3/head
Stefan Scherer 7 years ago
parent 61246a50f7
commit a8373b57b1
No known key found for this signature in database
GPG Key ID: 5966AEAC37E957FA

@ -1,14 +0,0 @@
FROM stefanscherer/golang-windows:1709 AS build
COPY . /code
WORKDIR /code
RUN go build http.go
FROM microsoft/nanoserver:1709
COPY --from=build /code/http.exe /http.exe
EXPOSE 8080
CMD ["\\http.exe"]

@ -1,14 +0,0 @@
FROM stefanscherer/golang-windows:1.9-insider AS build
COPY . /code
WORKDIR /code
RUN go build http.go
FROM microsoft/nanoserver-insider
COPY --from=build /code/http.exe /http.exe
EXPOSE 8080
CMD ["\\http.exe"]
Loading…
Cancel
Save