listen/docker/build.windows.Dockerfile

13 lines
272 B
Docker

# This Dockerfile is meant for building listen for Windows ONLY
# listen is currently not intended to run in a Docker container
ARG IMAGE="1-nanoserver"
FROM golang:${IMAGE} AS build
WORKDIR C:/build/listen
COPY . .
RUN go build .
CMD ["ping.exe", "-t", "localhost"]