fe023d0fd2
Change-Id: I19eb834b1b41165bab922d84983a3ad8e29b856d
8 lines
209 B
Docker
8 lines
209 B
Docker
FROM golang:1.13 AS builder
|
|
WORKDIR /go/src/app
|
|
COPY . .
|
|
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build
|
|
|
|
FROM scratch
|
|
COPY --from=builder /go/src/app/node-labeler /node-labeler
|
|
ENTRYPOINT ["/node-labeler"] |