mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-09-24 14:40:34 +00:00
build: corrected git-lfs install (#4051)
This commit is contained in:
@@ -18,6 +18,7 @@ apk add --no-cache -U \
|
|||||||
curl \
|
curl \
|
||||||
iputils \
|
iputils \
|
||||||
git \
|
git \
|
||||||
|
git-lfs \
|
||||||
jq \
|
jq \
|
||||||
mysql-client \
|
mysql-client \
|
||||||
tzdata \
|
tzdata \
|
||||||
@@ -46,3 +47,4 @@ cat <<EOF >> /etc/gitconfig
|
|||||||
name = Minecraft Server on Docker
|
name = Minecraft Server on Docker
|
||||||
email = server@example.com
|
email = server@example.com
|
||||||
EOF
|
EOF
|
||||||
|
git lfs install
|
||||||
@@ -46,6 +46,7 @@ dnf install -y \
|
|||||||
zstd \
|
zstd \
|
||||||
$([ "$os_major_version" -ge 10 ] && echo 'bzip2' || echo 'lbzip2') \
|
$([ "$os_major_version" -ge 10 ] && echo 'bzip2' || echo 'lbzip2') \
|
||||||
libpcap \
|
libpcap \
|
||||||
|
libcap \
|
||||||
libwebp \
|
libwebp \
|
||||||
findutils \
|
findutils \
|
||||||
which \
|
which \
|
||||||
@@ -81,3 +82,4 @@ cat <<EOF >> /etc/gitconfig
|
|||||||
name = Minecraft Server on Docker
|
name = Minecraft Server on Docker
|
||||||
email = server@example.com
|
email = server@example.com
|
||||||
EOF
|
EOF
|
||||||
|
git lfs install
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ apt-get install -y \
|
|||||||
iputils-ping \
|
iputils-ping \
|
||||||
curl \
|
curl \
|
||||||
git \
|
git \
|
||||||
|
git-lfs \
|
||||||
jq \
|
jq \
|
||||||
dos2unix \
|
dos2unix \
|
||||||
mysql-client \
|
mysql-client \
|
||||||
@@ -28,13 +29,9 @@ apt-get install -y \
|
|||||||
nfs-common \
|
nfs-common \
|
||||||
libpcap0.8 \
|
libpcap0.8 \
|
||||||
libnuma1 \
|
libnuma1 \
|
||||||
|
libcap2-bin \
|
||||||
${EXTRA_DEB_PACKAGES}
|
${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
|
# Clean up APT when done
|
||||||
apt-get clean
|
apt-get clean
|
||||||
|
|
||||||
@@ -51,3 +48,4 @@ cat <<EOF >> /etc/gitconfig
|
|||||||
name = Minecraft Server on Docker
|
name = Minecraft Server on Docker
|
||||||
email = server@example.com
|
email = server@example.com
|
||||||
EOF
|
EOF
|
||||||
|
git lfs install
|
||||||
|
|||||||
Reference in New Issue
Block a user