From 38c83998800d32b0b012cd3f0e3a73e93db9baf8 Mon Sep 17 00:00:00 2001 From: Bailey Allen Date: Thu, 18 Apr 2024 01:11:04 +1200 Subject: [PATCH] Add git-lfs package (#2781) --- build/alpine/install-packages.sh | 4 ++++ build/ol/install-packages.sh | 4 ++++ build/ubuntu/install-packages.sh | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/build/alpine/install-packages.sh b/build/alpine/install-packages.sh index 28a1a5b1..24bba090 100755 --- a/build/alpine/install-packages.sh +++ b/build/alpine/install-packages.sh @@ -16,6 +16,7 @@ apk add --no-cache -U \ bash \ curl iputils \ git \ + git-lfs \ jq \ mysql-client \ tzdata \ @@ -34,3 +35,6 @@ curl -fsSL -o /tmp/knock.tar.gz https://github.com/Metalcape/knock/releases/down tar -xf /tmp/knock.tar.gz -C /usr/local/ && rm /tmp/knock.tar.gz ln -s /usr/local/sbin/knockd /usr/sbin/knockd setcap cap_net_raw=ep /usr/local/sbin/knockd + +# Set git credentials +echo -e "[user]\n name = Minecraft Server on Docker\n email = server@example.com" >> /etc/gitconfig diff --git a/build/ol/install-packages.sh b/build/ol/install-packages.sh index 82f87abe..f216662e 100755 --- a/build/ol/install-packages.sh +++ b/build/ol/install-packages.sh @@ -25,6 +25,7 @@ dnf install -y ImageMagick \ iputils \ curl \ git \ + git-lfs \ jq \ dos2unix \ mysql \ @@ -47,3 +48,6 @@ curl -fsSL -o /tmp/knock.tar.gz https://github.com/Metalcape/knock/releases/down tar -xf /tmp/knock.tar.gz -C /usr/local/ && rm /tmp/knock.tar.gz ln -s /usr/local/sbin/knockd /usr/sbin/knockd setcap cap_net_raw=ep /usr/local/sbin/knockd + +# Set git credentials +echo -e "[user]\n name = Minecraft Server on Docker\n email = server@example.com" >> /etc/gitconfig diff --git a/build/ubuntu/install-packages.sh b/build/ubuntu/install-packages.sh index 5c4657d9..134ad025 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 \ @@ -37,3 +38,6 @@ tar -xf /tmp/knock.tar.gz -C /usr/local/ && rm /tmp/knock.tar.gz ln -s /usr/local/sbin/knockd /usr/sbin/knockd setcap cap_net_raw=ep /usr/local/sbin/knockd find /usr/lib -name 'libpcap.so.0.8' -execdir cp '{}' libpcap.so.1 \; + +# Set git credentials +echo -e "[user]\n name = Minecraft Server on Docker\n email = server@example.com" >> /etc/gitconfig