mark/Dockerfile

13 lines
275 B
Docker
Raw Permalink Normal View History

2019-03-26 14:42:26 +03:00
FROM golang:latest
2020-01-06 11:33:19 +03:00
ENV GOPATH="/go"
WORKDIR /go/src/github.com/kovetskiy/mark
2019-03-26 14:42:26 +03:00
COPY / .
RUN make get
RUN make build
FROM alpine:latest
2020-07-25 12:38:59 +03:00
RUN apk --no-cache add ca-certificates bash git
2020-01-07 16:06:32 +03:00
COPY --from=0 /go/src/github.com/kovetskiy/mark/mark /bin/
2019-03-26 14:55:38 +03:00
RUN mkdir -p /docs
WORKDIR /docs