Skip to content

Commit a44c717

Browse files
authored
build: corrected git-lfs install (#4051)
1 parent 60ab277 commit a44c717

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

build/alpine/install-packages.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ apk add --no-cache -U \
1818
curl \
1919
iputils \
2020
git \
21+
git-lfs \
2122
jq \
2223
mysql-client \
2324
tzdata \
@@ -45,4 +46,5 @@ cat <<EOF >> /etc/gitconfig
4546
[user]
4647
name = Minecraft Server on Docker
4748
email = server@example.com
48-
EOF
49+
EOF
50+
git lfs install

build/ol/install-packages.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ dnf install -y \
4646
zstd \
4747
$([ "$os_major_version" -ge 10 ] && echo 'bzip2' || echo 'lbzip2') \
4848
libpcap \
49+
libcap \
4950
libwebp \
5051
findutils \
5152
which \
@@ -81,3 +82,4 @@ cat <<EOF >> /etc/gitconfig
8182
name = Minecraft Server on Docker
8283
email = server@example.com
8384
EOF
85+
git lfs install

build/ubuntu/install-packages.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ apt-get install -y \
1616
iputils-ping \
1717
curl \
1818
git \
19+
git-lfs \
1920
jq \
2021
dos2unix \
2122
mysql-client \
@@ -28,13 +29,9 @@ apt-get install -y \
2829
nfs-common \
2930
libpcap0.8 \
3031
libnuma1 \
32+
libcap2-bin \
3133
${EXTRA_DEB_PACKAGES}
3234

33-
# Install Git LFS
34-
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
35-
apt-get update
36-
apt-get install -y git-lfs
37-
3835
# Clean up APT when done
3936
apt-get clean
4037

@@ -51,3 +48,4 @@ cat <<EOF >> /etc/gitconfig
5148
name = Minecraft Server on Docker
5249
email = server@example.com
5350
EOF
51+
git lfs install

0 commit comments

Comments
 (0)