Earthly


```type# EarthfileFROM golang:1.15-alpine3.13RUN apk --update --no-cache add gitWORKDIR /go-exampleall:  BUILD +lint  BUILD +dockerbuild:  COPY main.go .  RUN go build -o build/go-example main.go  SAVE ARTIFACT build/go-example AS LOCAL build/go-examplelint:  RUN go get golang.org/x/lint/golint  COPY main.go .  RUN golint -set_exit_status ./...docker:  COPY +build/go-example .  ENTRYPOINT ["/go-example/go-example"]  SAVE IMAGE go-example:latest```



> [earthly/earthly](https://github.com/earthly/earthly?utm_source=tldrnewsletter#why-use-earthly)





