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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 24 additions and 6 deletions

View File

@ -27,7 +27,6 @@ RUN apt-get update -y \
dnsutils \ dnsutils \
ftp \ ftp \
git \ git \
git-lfs \
iproute2 \ iproute2 \
iputils-ping \ iputils-ping \
iptables \ iptables \
@ -56,6 +55,10 @@ RUN apt-get update -y \
&& ln -sf /usr/bin/pip3 /usr/bin/pip \ && ln -sf /usr/bin/pip3 /usr/bin/pip \
&& rm -rf /var/lib/apt/lists/* && 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 # Runner user
RUN adduser --disabled-password --gecos "" --uid $RUNNER_UID runner RUN adduser --disabled-password --gecos "" --uid $RUNNER_UID runner

View File

@ -23,7 +23,6 @@ RUN apt-get update -y \
curl \ curl \
ca-certificates \ ca-certificates \
git \ git \
git-lfs \
iproute2 \ iproute2 \
iptables \ iptables \
jq \ jq \
@ -33,6 +32,10 @@ RUN apt-get update -y \
zip \ zip \
&& rm -rf /var/lib/apt/lists/* && 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 # Runner user
RUN adduser --disabled-password --gecos "" --uid $RUNNER_USER_UID runner RUN adduser --disabled-password --gecos "" --uid $RUNNER_USER_UID runner

View File

@ -25,7 +25,6 @@ RUN apt-get update -y \
dnsutils \ dnsutils \
ftp \ ftp \
git \ git \
git-lfs \
iproute2 \ iproute2 \
iputils-ping \ iputils-ping \
iptables \ iptables \
@ -53,6 +52,10 @@ RUN apt-get update -y \
&& ln -sf /usr/bin/pip3 /usr/bin/pip \ && ln -sf /usr/bin/pip3 /usr/bin/pip \
&& rm -rf /var/lib/apt/lists/* && 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 # Runner user
RUN adduser --disabled-password --gecos "" --uid $RUNNER_UID runner \ RUN adduser --disabled-password --gecos "" --uid $RUNNER_UID runner \
&& groupadd docker --gid $DOCKER_GID \ && groupadd docker --gid $DOCKER_GID \

View File

@ -20,7 +20,6 @@ RUN apt-get update -y \
curl \ curl \
ca-certificates \ ca-certificates \
git \ git \
git-lfs \
iptables \ iptables \
jq \ jq \
software-properties-common \ software-properties-common \
@ -29,6 +28,10 @@ RUN apt-get update -y \
zip \ zip \
&& rm -rf /var/lib/apt/lists/* && 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 # Runner user
RUN adduser --disabled-password --gecos "" --uid $RUNNER_USER_UID runner \ RUN adduser --disabled-password --gecos "" --uid $RUNNER_USER_UID runner \
&& groupadd docker --gid $DOCKER_GROUP_GID \ && groupadd docker --gid $DOCKER_GROUP_GID \

View File

@ -25,7 +25,6 @@ RUN apt-get update -y \
dnsutils \ dnsutils \
ftp \ ftp \
git \ git \
git-lfs \
iproute2 \ iproute2 \
iputils-ping \ iputils-ping \
jq \ jq \
@ -50,6 +49,10 @@ RUN apt-get update -y \
&& ln -sf /usr/bin/pip3 /usr/bin/pip \ && ln -sf /usr/bin/pip3 /usr/bin/pip \
&& rm -rf /var/lib/apt/lists/* && 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 \ RUN adduser --disabled-password --gecos "" --uid $RUNNER_UID runner \
&& groupadd docker --gid $DOCKER_GID \ && groupadd docker --gid $DOCKER_GID \
&& usermod -aG sudo runner \ && usermod -aG sudo runner \

View File

@ -20,13 +20,16 @@ RUN apt-get update -y \
curl \ curl \
ca-certificates \ ca-certificates \
git \ git \
git-lfs \
jq \ jq \
sudo \ sudo \
unzip \ unzip \
zip \ zip \
&& rm -rf /var/lib/apt/lists/* && 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 \ RUN adduser --disabled-password --gecos "" --uid $RUNNER_USER_UID runner \
&& groupadd docker --gid $DOCKER_GROUP_GID \ && groupadd docker --gid $DOCKER_GROUP_GID \
&& usermod -aG sudo runner \ && usermod -aG sudo runner \