Update Dockerfile
Use newer Golang and switch base images from ubuntu to distroless
# Build the manager binary
-FROM golang:1.10.3 as builder
+FROM golang:1.12.5 as builder
# Copy in the go src
WORKDIR /go/src/github.com/gramLabs/okeanos
@@ -11,7 +11,7 @@ COPY vendor/ vendor/
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o manager github.com/gramLabs/okeanos/cmd/manager
# Copy the controller-manager into a thin image
-FROM ubuntu:latest
+FROM gcr.io/distroless/static:latest
WORKDIR /
COPY --from=builder /go/src/github.com/gramLabs/okeanos/manager .
ENTRYPOINT ["/manager"]
