From ab96af5062209b3afc88847814910a6da6fcd44a Mon Sep 17 00:00:00 2001 From: Carles Pina i Estany Date: Thu, 23 Feb 2023 08:41:49 +0000 Subject: [PATCH] Enable git lfs --- Dockerfile | 2 +- entrypoint.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f93756d..db90a79 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM alpine:latest -RUN apk add --no-cache git openssh-client +RUN apk add --no-cache git git-lfs openssh-client COPY entrypoint.sh /entrypoint.sh diff --git a/entrypoint.sh b/entrypoint.sh index 83a61f1..80d003e 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -60,6 +60,9 @@ CLONE_DIR=$(mktemp -d) echo "[+] Git version" git --version +echo "[+] Enable git lfs" +git lfs install + echo "[+] Cloning destination git repository $DESTINATION_REPOSITORY_NAME" # Setup git git config --global user.email "$USER_EMAIL"