github.com/matthieudolci/hatcher@v0.2.8/Dockerfile (about)

     1  FROM golang:1.10.1-alpine AS build
     2  ENV CGO_ENABLED=0 GOOS=linux
     3  ADD . /go/src/github.com/matthieudolci/hatcher
     4  RUN cd /go/src/github.com/matthieudolci/hatcher && \
     5      go build -installsuffix cgo -o hatcher
     6  
     7  FROM alpine:3.12
     8  RUN apk add --no-cache ca-certificates tzdata
     9  ENV TZ America/Los_Angeles
    10  COPY --from=build /go/src/github.com/matthieudolci/hatcher/hatcher /bin
    11  CMD ["/bin/hatcher"]