Skip to content

Commit

Permalink
Enable git lfs (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpina authored Feb 25, 2023
1 parent 9e487f2 commit 0a14457
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand Down
3 changes: 3 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0a14457

Please sign in to comment.