File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
1616 unzip \
1717 fcgiwrap \
1818 git \
19- git-lfs \
2019 make \
2120 wget \
2221 gcc \
@@ -29,7 +28,8 @@ COPY hack/install.sh hack/tool-versions.sh ./
2928COPY hack/installers installers
3029
3130RUN ./install.sh helm && \
32- INSTALL_PATH=/usr/local/bin ./install.sh kustomize
31+ INSTALL_PATH=/usr/local/bin ./install.sh kustomize && \
32+ ./install.sh git-lfs
3333
3434# ###################################################################################################
3535# Argo CD Base - used as the base for both the release and dev argocd images
@@ -51,7 +51,7 @@ RUN groupadd -g $ARGOCD_USER_ID argocd && \
5151 apt-get update && \
5252 apt-get dist-upgrade -y && \
5353 apt-get install -y \
54- git git-lfs tini gpg tzdata connect-proxy && \
54+ git tini gpg tzdata connect-proxy && \
5555 apt-get clean && \
5656 rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
5757
@@ -61,6 +61,7 @@ COPY hack/gpg-wrapper.sh \
6161 /usr/local/bin/
6262COPY --from=builder /usr/local/bin/helm /usr/local/bin/helm
6363COPY --from=builder /usr/local/bin/kustomize /usr/local/bin/kustomize
64+ COPY --from=builder /usr/local/bin/git-lfs /usr/local/bin/git-lfs
6465
6566# keep uid_entrypoint.sh for backward compatibility
6667RUN ln -s /usr/local/bin/entrypoint.sh /usr/local/bin/uid_entrypoint.sh
Original file line number Diff line number Diff line change 1+ 1c0b6ee5200ca708c5cebebb18fdeb0e1c98f1af5c1a9cba205a4c0ab5a5ec08 git-lfs-linux-amd64-v3.7.1.tar.gz
Original file line number Diff line number Diff line change 1+ 73a9c90eeb4312133a63c3eaee0c38c019ea7bfa0953d174809d25b18588dd8d git-lfs-linux-arm64-v3.7.1.tar.gz
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ set -eux -o pipefail
3+
4+ . " $( dirname " $0 " ) " /../tool-versions.sh
5+
6+ export TARGET_FILE=git-lfs-${INSTALL_OS} -${ARCHITECTURE} -v${git_lfs_version} .tar.gz
7+
8+ [ -e " $DOWNLOADS /${TARGET_FILE} " ] || curl -sLf --retry 3 -o " $DOWNLOADS /${TARGET_FILE} " " https://github.com/git-lfs/git-lfs/releases/download/v${git_lfs_version} /${TARGET_FILE} "
9+ " $( dirname " $0 " ) " /compare-chksum.sh
10+ mkdir -p /tmp/git-lfs && tar -C /tmp/git-lfs --strip-components=1 -xzf " $DOWNLOADS /${TARGET_FILE} "
11+ sudo install -m 0755 " /tmp/git-lfs/git-lfs" " $BIN /git-lfs"
12+ git-lfs version
Original file line number Diff line number Diff line change @@ -15,3 +15,4 @@ helm3_version=3.19.4
1515kustomize5_version=5.8.1
1616protoc_version=29.3
1717oras_version=1.2.0
18+ git_lfs_version=3.7.1
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ RUN ./install.sh helm && \
6363 ./install.sh codegen-go-tools && \
6464 ./install.sh lint-tools && \
6565 ./install.sh gotestsum && \
66+ ./install.sh git-lfs && \
6667 go install github.com/mattn/goreman@latest && \
6768 go install github.com/kisielk/godepgraph@latest && \
6869 go install github.com/jstemmer/go-junit-report@latest && \
You can’t perform that action at this time.
0 commit comments