ee03a95ab2
Change-Id: If4ba053b7cf5a704afcb3f7e4a19aeed8440f3d9
11 lines
287 B
Docker
11 lines
287 B
Docker
FROM golang:1.13 AS builder
|
|
WORKDIR /go/src/app
|
|
COPY . .
|
|
RUN CGO_ENABLED=0 GOOS=linux go build
|
|
|
|
# NOTE(mnaser): https://github.com/containers/skopeo/issues/991
|
|
# FROM scratch
|
|
FROM debian:stable-slim
|
|
COPY --from=builder /go/src/app/node-labeler /node-labeler
|
|
ENTRYPOINT ["/node-labeler"]
|