2022-11-20 22:03:53 +00:00
|
|
|
FROM alpine:3.16
|
|
|
|
|
|
|
|
RUN apk add --no-cache go hugo git make perl
|
2023-07-07 19:20:03 +00:00
|
|
|
RUN git config --global --add safe.directory '/quartz'
|
2022-11-20 22:03:53 +00:00
|
|
|
RUN go install github.com/jackyzha0/hugo-obsidian@latest
|
|
|
|
ENV PATH="/root/go/bin:$PATH"
|
|
|
|
RUN git clone https://github.com/jackyzha0/quartz.git /quartz
|
|
|
|
|
|
|
|
WORKDIR /quartz
|
|
|
|
|
|
|
|
CMD ["make", "serve"]
|