From a44c7170412d489f51360f0641c84f525ad6acce Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sat, 9 May 2026 11:52:58 -0500 Subject: [PATCH] build: corrected git-lfs install (#4051) --- build/alpine/install-packages.sh | 4 +++- build/ol/install-packages.sh | 2 ++ build/ubuntu/install-packages.sh | 8 +++----- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/build/alpine/install-packages.sh b/build/alpine/install-packages.sh index e378be32..a0f2648f 100755 --- a/build/alpine/install-packages.sh +++ b/build/alpine/install-packages.sh @@ -18,6 +18,7 @@ apk add --no-cache -U \ curl \ iputils \ git \ + git-lfs \ jq \ mysql-client \ tzdata \ @@ -45,4 +46,5 @@ cat <> /etc/gitconfig [user] name = Minecraft Server on Docker email = server@example.com -EOF \ No newline at end of file +EOF +git lfs install \ No newline at end of file diff --git a/build/ol/install-packages.sh b/build/ol/install-packages.sh index cc60c2ca..5adb6888 100755 --- a/build/ol/install-packages.sh +++ b/build/ol/install-packages.sh @@ -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 <> /etc/gitconfig name = Minecraft Server on Docker email = server@example.com EOF +git lfs install diff --git a/build/ubuntu/install-packages.sh b/build/ubuntu/install-packages.sh index c802761c..b4f372bb 100755 --- a/build/ubuntu/install-packages.sh +++ b/build/ubuntu/install-packages.sh @@ -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 <> /etc/gitconfig name = Minecraft Server on Docker email = server@example.com EOF +git lfs install