build: corrected git-lfs install (#4051)

This commit is contained in:
Geoff Bourne
2026-05-09 11:52:58 -05:00
committed by GitHub
parent 60ab277060
commit a44c717041
3 changed files with 8 additions and 6 deletions
+3 -1
View File
@@ -18,6 +18,7 @@ apk add --no-cache -U \
curl \
iputils \
git \
git-lfs \
jq \
mysql-client \
tzdata \
@@ -45,4 +46,5 @@ cat <<EOF >> /etc/gitconfig
[user]
name = Minecraft Server on Docker
email = server@example.com
EOF
EOF
git lfs install
+2
View File
@@ -46,6 +46,7 @@ dnf install -y \
zstd \
$([ "$os_major_version" -ge 10 ] && echo 'bzip2' || echo 'lbzip2') \
libpcap \
libcap \
libwebp \
findutils \
which \
@@ -81,3 +82,4 @@ cat <<EOF >> /etc/gitconfig
name = Minecraft Server on Docker
email = server@example.com
EOF
git lfs install
+3 -5
View File
@@ -16,6 +16,7 @@ apt-get install -y \
iputils-ping \
curl \
git \
git-lfs \
jq \
dos2unix \
mysql-client \
@@ -28,13 +29,9 @@ apt-get install -y \
nfs-common \
libpcap0.8 \
libnuma1 \
libcap2-bin \
${EXTRA_DEB_PACKAGES}
# Install Git LFS
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
apt-get update
apt-get install -y git-lfs
# Clean up APT when done
apt-get clean
@@ -51,3 +48,4 @@ cat <<EOF >> /etc/gitconfig
name = Minecraft Server on Docker
email = server@example.com
EOF
git lfs install