8c302eaad8
Change-Id: Ie7d6945165338cf7c0a7a0ed0e43f33b7d80c518
9 lines
295 B
Docker
9 lines
295 B
Docker
FROM golang:1.13 AS builder
|
|
RUN go get github.com/SuperQ/smokeping_prober
|
|
RUN cd /go/src/github.com/SuperQ/smokeping_prober && make build
|
|
|
|
FROM scratch
|
|
COPY --from=builder /go/src/github.com/SuperQ/smokeping_prober/smokeping_prober /smokeping_prober
|
|
EXPOSE 9374
|
|
ENTRYPOINT ["/smokeping_prober"]
|