Add Git LFS to image
Feature description
Requesting to add Git LFS to the bitnami/git image
This can be done by adding these two lines to the Dockerfile
dnf install -y git-lfs && \
and
git lfs install && \
in this section of the Dockerfile
RUN dnf update -y --nodocs && \
mkdir -p ${BITNAMI_HOME} && \
dnf install -y git-lfs && \
dnf clean all && \
git lfs install && \
useradd -ms /bin/bash bitnami && \
mkdir -p /opt/bitnami && \
rm -rf /var/cache/dnf
Use cases
Very often when using git, people will be cloning from repos on Gitlab that have LFS enabled for some large file types.
You will not be able to get those LFS files without using git lfs.
Benefits
By adding this feature, you will be able to use the bitnami/git image to interact with Gitlab repos that have LFS enabled.
Requirements
n/a
Links / references
https://github.com/git-lfs/git-lfs
https://docs.gitlab.com/ee/topics/git/lfs/
Definition of Done
-
Feature has been implemented