Update Dockerfile (#335)

Fix #305
This commit is contained in:
Morgan Patterson 2023-07-07 12:20:03 -07:00 committed by GitHub
parent 7b1da7a845
commit 9450278680
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
FROM alpine:3.16 FROM alpine:3.16
RUN apk add --no-cache go hugo git make perl RUN apk add --no-cache go hugo git make perl
RUN git config --global --add safe.directory '/quartz'
RUN go install github.com/jackyzha0/hugo-obsidian@latest RUN go install github.com/jackyzha0/hugo-obsidian@latest
ENV PATH="/root/go/bin:$PATH" ENV PATH="/root/go/bin:$PATH"
RUN git clone https://github.com/jackyzha0/quartz.git /quartz RUN git clone https://github.com/jackyzha0/quartz.git /quartz