mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-30 22:08:52 +08:00
Switch git-lfs source to packagecloud (#2838)
This commit is contained in:
@@ -27,7 +27,6 @@ RUN apt-get update -y \
|
||||
dnsutils \
|
||||
ftp \
|
||||
git \
|
||||
git-lfs \
|
||||
iproute2 \
|
||||
iputils-ping \
|
||||
iptables \
|
||||
@@ -56,6 +55,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
|
||||
|
||||
# Runner user
|
||||
RUN adduser --disabled-password --gecos "" --uid $RUNNER_UID runner
|
||||
|
||||
|
||||
Reference in New Issue
Block a user