mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-24 10:37:32 +08:00
Switch git-lfs source to packagecloud (#2838)
This commit is contained in:
@@ -23,7 +23,6 @@ RUN apt-get update -y \
|
||||
curl \
|
||||
ca-certificates \
|
||||
git \
|
||||
git-lfs \
|
||||
iproute2 \
|
||||
iptables \
|
||||
jq \
|
||||
@@ -33,6 +32,10 @@ RUN apt-get update -y \
|
||||
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
|
||||
|
||||
# Runner user
|
||||
RUN adduser --disabled-password --gecos "" --uid $RUNNER_USER_UID runner
|
||||
|
||||
|
||||
Reference in New Issue
Block a user