Skip to content

Commit 16cae01

Browse files
reggie-koleksandr-codefresh
authored andcommitted
upgraded git-lfs to 3.6.1 in Dockerfile (#386)
Signed-off-by: reggie-k <[email protected]> Signed-off-by: oleksandr-codefresh <[email protected]>
1 parent 8f75db4 commit 16cae01

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,18 @@ USER root
4343
ENV ARGOCD_USER_ID=999 \
4444
DEBIAN_FRONTEND=noninteractive
4545

46-
RUN groupadd -g $ARGOCD_USER_ID argocd && \
46+
RUN apt-get update && \
47+
apt-get install curl -y && \
48+
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash && \
49+
apt-get install git-lfs -y && \
50+
groupadd -g $ARGOCD_USER_ID argocd && \
4751
useradd -r -u $ARGOCD_USER_ID -g argocd argocd && \
4852
mkdir -p /home/argocd && \
4953
chown argocd:0 /home/argocd && \
5054
chmod g=u /home/argocd && \
51-
apt-get update && \
5255
apt-get dist-upgrade -y && \
5356
apt-get install -y \
54-
git git-lfs tini gpg tzdata connect-proxy && \
57+
git tini gpg tzdata connect-proxy && \
5558
apt-get clean && \
5659
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
5760

0 commit comments

Comments
 (0)