Use only 1 Dockerfile for Windows

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

@ -1,11 +1,14 @@
FROM golang:nanoserver AS build
ARG golang=golang:nanoserver
ARG target=microsoft/nanoserver
FROM $golang AS build
COPY . /code
WORKDIR /code
RUN go build http.go
FROM microsoft/nanoserver
FROM $target
COPY --from=build /code/http.exe /http.exe

Loading…
Cancel
Save