github.com/xiaq/elvish@v0.12.0/Dockerfile (about)

     1  FROM golang:alpine
     2  
     3  RUN apk update && \
     4      apk add --virtual build-deps make git
     5  
     6  COPY . /go/src/github.com/elves/elvish
     7  RUN make -C /go/src/github.com/elves/elvish get
     8  
     9  RUN apk del --purge build-deps
    10  
    11  WORKDIR /root
    12  CMD /go/bin/elvish