Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for repositories with git LFS #36

Open
pavelpokutnev opened this issue Oct 25, 2022 · 0 comments · Fixed by #37
Open

Support for repositories with git LFS #36

pavelpokutnev opened this issue Oct 25, 2022 · 0 comments · Fixed by #37
Assignees
Labels
enhancement New feature or request

Comments

@pavelpokutnev
Copy link
Contributor

pavelpokutnev commented Oct 25, 2022

The current "[email protected]" fails with following error in case it is applied to repository with git LFS enabled:

  Checking out the gh-pages branch (keeping its history) from commit ...
  git-lfs filter-process: line 0: git-lfs: not found
  fatal: the remote end hung up unexpectedly

The issue is that the base alpine docker image doesn't installs the git-lfs, so it is not available.

Proposals:

  • Option 1: add something like following into the Dockerfile
  RUN apk add --no-cache \
          git-lfs
  • Option 2: add the git-lfs install into the entrypoint.sh
  # Install git-lfs since it is not in alpine base image.
  echo "Install git LFS"
  apk update
  apk add --update git-lfs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants