mirror of
https://github.com/kovetskiy/mark.git
synced 2025-04-24 05:42:40 +08:00
13 lines
275 B
Docker
13 lines
275 B
Docker
FROM golang:latest
|
|
ENV GOPATH="/go"
|
|
WORKDIR /go/src/github.com/kovetskiy/mark
|
|
COPY / .
|
|
RUN make get
|
|
RUN make build
|
|
|
|
FROM alpine:latest
|
|
RUN apk --no-cache add ca-certificates bash git
|
|
COPY --from=0 /go/src/github.com/kovetskiy/mark/mark /bin/
|
|
RUN mkdir -p /docs
|
|
WORKDIR /docs
|