schnutibox/vendor/github.com/cosmtrek/air/Dockerfile

13 lines
229 B
Docker

FROM golang:1.16
MAINTAINER Rick Yu <cosmtrek@gmail.com>
ENV GOPATH /go
ENV GO111MODULE on
COPY . /go/src/github.com/cosmtrek/air
WORKDIR /go/src/github.com/cosmtrek/air
RUN make ci && make install
ENTRYPOINT ["/go/bin/air"]