This repository was archived by the owner on Jun 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,13 @@ install_dependencies() {
7878 podman exec " $CONTAINER_ID " /bin/bash -c ' if ! type git >/dev/null 2>&1 && type apk >/dev/null 2>&1 ; then echo "APK based distro without git"; apk add git; fi'
7979 # Install git in systems with YUM (e.g., RHEL<=7)
8080 podman exec " $CONTAINER_ID " /bin/bash -c ' if ! type git >/dev/null 2>&1 && type yum >/dev/null 2>&1 ; then echo "YUM based distro without git"; yum install --assumeyes git; fi'
81+
82+ # Install git-lfs in systems with APT (e.g., Debian)
83+ podman exec " $CONTAINER_ID " /bin/bash -c ' if ! type git-lfs >/dev/null 2>&1 && type apt-get >/dev/null 2>&1 ; then echo "APT based distro without git-lfs"; apt-get update && apt-get install --no-install-recommends -y ca-certificates git-lfs; fi'
84+ # Install git-lfs in systems with DNF (e.g., Fedora)
85+ podman exec " $CONTAINER_ID " /bin/bash -c ' if ! type git-lfs >/dev/null 2>&1 && type dnf >/dev/null 2>&1 ; then echo "DNF based distro without git-lfs"; dnf install --setopt=install_weak_deps=False --assumeyes git-lfs; fi'
86+ # Install git-lfs in systems with APK (e.g., Alpine)
87+ podman exec " $CONTAINER_ID " /bin/bash -c ' if ! type git-lfs >/dev/null 2>&1 && type apk >/dev/null 2>&1 ; then echo "APK based distro without git-lfs"; apk add git-lfs; fi'
8188}
8289
8390echo " Running in $CONTAINER_ID "
You can’t perform that action at this time.
0 commit comments