File tree Expand file tree Collapse file tree 2 files changed +3
-17
lines changed Expand file tree Collapse file tree 2 files changed +3
-17
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ RUN apk --no-cache add \
7
7
curl \
8
8
git \
9
9
git-daemon \
10
+ git-lfs \
10
11
gnupg \
11
12
gzip \
12
13
jq \
@@ -19,15 +20,6 @@ RUN apk --no-cache add \
19
20
libstdc++ \
20
21
coreutils
21
22
22
- RUN curl -s https://api.github.com/repos/git-lfs/git-lfs/releases/latest \
23
- | grep "browser_download_url.*linux-amd64" \
24
- | cut -d : -f 2,3 \
25
- | xargs curl -L --output git-lfs.tar.gz && \
26
- mkdir git-lfs && tar -xzf git-lfs.tar.gz -C git-lfs && \
27
- ./git-lfs/install.sh && \
28
- rm -rf git-lfs*
29
- RUN git lfs -v
30
-
31
23
WORKDIR /root
32
24
RUN git clone https://github.com/proxytunnel/proxytunnel.git && \
33
25
cd proxytunnel && \
Original file line number Diff line number Diff line change @@ -21,14 +21,8 @@ RUN apt-add-repository ppa:git-core/ppa \
21
21
&& apt-get install -y git \
22
22
&& rm -rf /var/lib/apt/lists/*
23
23
24
- RUN curl -s https://api.github.com/repos/git-lfs/git-lfs/releases/latest \
25
- | grep "browser_download_url.*linux-amd64" \
26
- | cut -d : -f 2,3 \
27
- | xargs curl -L --output git-lfs.tar.gz && \
28
- mkdir git-lfs && tar -xzf git-lfs.tar.gz -C git-lfs && \
29
- ./git-lfs/install.sh && \
30
- rm -rf git-lfs*
31
- RUN git lfs -v
24
+ RUN curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash
25
+ RUN apt-get install -y git-lfs
32
26
33
27
WORKDIR /root
34
28
RUN git clone https://github.com/proxytunnel/proxytunnel.git && \
You can’t perform that action at this time.
0 commit comments