mirror of
https://github.com/kovetskiy/mark.git
synced 2026-05-02 21:32:34 +00:00
Add support for mermaid via library
Implementation is largely based on: https://github.com/kovetskiy/mark/pull/167 Co-Authored-By: Manuel Rueger <manuel@rueg.eu>
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -1,11 +1,15 @@
|
||||
FROM golang:1.20.2 as builder
|
||||
FROM golang:1.20.3 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
|
||||
FROM chromedp/headless-shell:latest
|
||||
RUN apt-get update \
|
||||
&& apt-get install --no-install-recommends -qq ca-certificates bash sed git \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
COPY --from=builder /go/src/github.com/kovetskiy/mark/mark /bin/
|
||||
WORKDIR /docs
|
||||
|
||||
Reference in New Issue
Block a user