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"