...

Text file src/github.com/instrumenta/kubeval/Dockerfile

Documentation: github.com/instrumenta/kubeval

     1FROM golang:1.12-alpine as builder
     2RUN apk --no-cache add make git
     3WORKDIR /
     4COPY . /
     5RUN make build
     6
     7FROM alpine:latest
     8RUN apk --no-cache add ca-certificates
     9COPY --from=builder /bin/kubeval .
    10RUN ln -s /kubeval /usr/local/bin/kubeval
    11ENTRYPOINT ["/kubeval"]
    12CMD ["--help"]

View as plain text