mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-31 14:28:01 +08:00
Switch git-lfs source to packagecloud (#2838)
This commit is contained in:
@@ -25,7 +25,6 @@ RUN apt-get update -y \
|
||||
dnsutils \
|
||||
ftp \
|
||||
git \
|
||||
git-lfs \
|
||||
iproute2 \
|
||||
iputils-ping \
|
||||
jq \
|
||||
@@ -50,6 +49,10 @@ RUN apt-get update -y \
|
||||
&& ln -sf /usr/bin/pip3 /usr/bin/pip \
|
||||
&& 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_UID runner \
|
||||
&& groupadd docker --gid $DOCKER_GID \
|
||||
&& usermod -aG sudo runner \
|
||||
|
||||
Reference in New Issue
Block a user