github.com/TheSilentForest/tail@v1.0.1-0.20190327153203-b5d4c85e68b5/Dockerfile (about)

     1  FROM golang
     2  
     3  ADD . /src/tail
     4  WORKDIR /src/tail/cmd/gotail
     5  RUN go install -v
     6  
     7  RUN $GOPATH/bin/gotail -h || true
     8  
     9  ENV PATH $GOPATH/bin:$PATH
    10  CMD ["gotail"]