Enable git lfs (#98)

This commit is contained in:
Carles Pina Estany 2023-02-25 21:58:06 +00:00 committed by GitHub
parent 9e487f2958
commit 0a14457bb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"