Enable git lfs

This commit is contained in:
Carles Pina i Estany 2023-02-23 08:41:49 +00:00
parent 9e487f2958
commit ab96af5062
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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"