mirror of
https://github.com/kovetskiy/mark.git
synced 2025-04-23 21:32:41 +08:00
properly tag as latest
This commit is contained in:
parent
1b1361f30b
commit
e32dc2caaf
@ -1,6 +1,5 @@
|
||||
FROM golang:latest
|
||||
ENV GOPATH="/go/"
|
||||
ENV GO111MODULE="on"
|
||||
WORKDIR /go/src/mark
|
||||
COPY / .
|
||||
RUN make get
|
||||
@ -8,6 +7,7 @@ RUN make build
|
||||
|
||||
FROM alpine:latest
|
||||
RUN apk --no-cache add ca-certificates bash
|
||||
WORKDIR /
|
||||
COPY --from=0 /go/src/mark/mark /bin/
|
||||
RUN mkdir -p /docs
|
||||
WORKDIR /docs
|
||||
ENTRYPOINT ["/bin/mark"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user