-
Notifications
You must be signed in to change notification settings - Fork 40
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
feat: add Git LFS #15
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please checkout other tools like dotnet
for download and extract tools
It should be installed here:
https://github.com/containerbase/buildpack/blob/c0b1b2e6f1b3dc190f841777ce1102c9f3f919c2/Dockerfile.bionic#L27-L28
@viceice I was thinking we wouldn't want it in the base image (that all images share) and instead only in Renovate? |
Ok, so it should be installed to |
Found this: https://github.com/git-lfs/git-lfs/wiki/Installation#debian-and-ubuntu |
Please stay at tarball, so we have control over installed version |
Made some changes to the install script, to more-so mimmick the dotnet one you linked @viceice.
|
If git lfs is installed by default for the container, does that cause problems for those who don't want it or need it? I had expected not, but perhaps not aware of the edge cases. |
i think it's save to install lfs, because lfs hooks are disabled by renovate renovatebot/renovate#9673 But it think we should only have this installed to main renovate image to not have any side effects on sidecar container starting to pull huge lfs objects |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add a test to https://github.com/containerbase/buildpack/blob/main/test/latest/Dockerfile
exit 0 | ||
fi | ||
|
||
LFS_FILE="git-lfs-linux-amd64-${TOOL_VERSION}.tar.gz" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fi | ||
|
||
LFS_FILE="git-lfs-linux-amd64-${TOOL_VERSION}.tar.gz" | ||
wget "https://github.com/git-lfs/git-lfs/releases/download/${TOOL_VERSION}/${LFS_FILE}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All other tools are usiing curl
, why are you using wget
?
Hi, what's the status of this work? Seems like this is a necessary step to make progress on renovatebot/renovate#6842. |
currently blocked by renovatebot/renovate#10748 |
Superseeded by #104 |
This adds Git LFS as a tool.
I'm not too sure what kinds of tests you'd expect/want? Or where to add the
install-tool
line. It seems like by default, only git is installed in this base image?Finally, worth noting is the discussion in renovatebot/renovate#7894.
Closes #13.