From 6dd24c136941decc027c3954bc0d30d7f83b6ebe Mon Sep 17 00:00:00 2001
From: d3vyce <nicolas.sudres@hotmail.fr>
Date: Sun, 18 Feb 2024 17:54:56 +0100
Subject: [PATCH] add: git-lfs to Dockerfile

---
 Dockerfile      | 2 +-
 hugo.Dockerfile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Dockerfile b/Dockerfile
index 1f2cab1..2ae9fe6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,7 +3,7 @@ FROM git.d3vyce.fr/d3vyce/hugo:latest AS build
 WORKDIR /opt/blog
 COPY . /opt/blog/
 
-RUN git submodule update --init --recursive
+RUN git submodule update --init --recursive && git lfs pull
 RUN hugo
 
 
diff --git a/hugo.Dockerfile b/hugo.Dockerfile
index 262a294..e6b42a8 100644
--- a/hugo.Dockerfile
+++ b/hugo.Dockerfile
@@ -6,5 +6,5 @@ ENV GOOS=linux
 ENV GO111MODULE=on
 
 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