Switch git-lfs source to packagecloud (#2838)
This commit is contained in:
parent
8b7bfa5ffb
commit
b1cc4da5dc
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ RUN apt-get update -y \
|
|||
dnsutils \
|
||||
ftp \
|
||||
git \
|
||||
git-lfs \
|
||||
iproute2 \
|
||||
iputils-ping \
|
||||
iptables \
|
||||
|
|
@ -53,6 +52,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 \
|
||||
&& groupadd docker --gid $DOCKER_GID \
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ RUN apt-get update -y \
|
|||
curl \
|
||||
ca-certificates \
|
||||
git \
|
||||
git-lfs \
|
||||
iptables \
|
||||
jq \
|
||||
software-properties-common \
|
||||
|
|
@ -29,6 +28,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 \
|
||||
&& groupadd docker --gid $DOCKER_GROUP_GID \
|
||||
|
|
|
|||
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in New Issue