Switch git-lfs source to packagecloud (#2838)

This commit is contained in:
jb-2020
2023-08-27 22:23:57 -07:00
committed by GitHub
parent 8b7bfa5ffb
commit b1cc4da5dc
6 changed files with 24 additions and 6 deletions

View File

@@ -20,13 +20,16 @@ RUN apt-get update -y \
curl \
ca-certificates \
git \
git-lfs \
jq \
sudo \
unzip \
zip \
&& rm -rf /var/lib/apt/lists/*
# Download latest git-lfs version
RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash && \
apt-get install -y --no-install-recommends git-lfs
RUN adduser --disabled-password --gecos "" --uid $RUNNER_USER_UID runner \
&& groupadd docker --gid $DOCKER_GROUP_GID \
&& usermod -aG sudo runner \