add: git-lfs to Dockerfile
Some checks failed
Build Blog Docker Image / build docker (push) Failing after 1m36s
Some checks failed
Build Blog Docker Image / build docker (push) Failing after 1m36s
This commit is contained in:
parent
ebaff0c72c
commit
6dd24c1369
@ -3,7 +3,7 @@ FROM git.d3vyce.fr/d3vyce/hugo:latest AS build
|
|||||||
WORKDIR /opt/blog
|
WORKDIR /opt/blog
|
||||||
COPY . /opt/blog/
|
COPY . /opt/blog/
|
||||||
|
|
||||||
RUN git submodule update --init --recursive
|
RUN git submodule update --init --recursive && git lfs pull
|
||||||
RUN hugo
|
RUN hugo
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,5 +6,5 @@ ENV GOOS=linux
|
|||||||
ENV GO111MODULE=on
|
ENV GO111MODULE=on
|
||||||
|
|
||||||
RUN apk update && \
|
RUN apk update && \
|
||||||
apk add --no-cache gcc musl-dev g++ git
|
apk add --no-cache gcc musl-dev g++ git git-lfs
|
||||||
RUN go install -tags extended github.com/gohugoio/hugo@v0.122.0
|
RUN go install -tags extended github.com/gohugoio/hugo@v0.122.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user