mirror of
https://github.com/kovetskiy/mark.git
synced 2025-04-24 05:42:40 +08:00
12 lines
276 B
Docker
12 lines
276 B
Docker
FROM golang:1.20.2 as builder
|
|
ENV GOPATH="/go"
|
|
WORKDIR /go/src/github.com/kovetskiy/mark
|
|
COPY / .
|
|
RUN make get \
|
|
&& make build
|
|
|
|
FROM alpine:3.17
|
|
RUN apk --no-cache add ca-certificates bash sed git
|
|
COPY --from=builder /go/src/github.com/kovetskiy/mark/mark /bin/
|
|
WORKDIR /docs
|