Skip to content

Commit 38c8399

Browse files
Add git-lfs package (#2781)
1 parent c666cf2 commit 38c8399

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

build/alpine/install-packages.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ apk add --no-cache -U \
1616
bash \
1717
curl iputils \
1818
git \
19+
git-lfs \
1920
jq \
2021
mysql-client \
2122
tzdata \
@@ -34,3 +35,6 @@ curl -fsSL -o /tmp/knock.tar.gz https://github.com/Metalcape/knock/releases/down
3435
tar -xf /tmp/knock.tar.gz -C /usr/local/ && rm /tmp/knock.tar.gz
3536
ln -s /usr/local/sbin/knockd /usr/sbin/knockd
3637
setcap cap_net_raw=ep /usr/local/sbin/knockd
38+
39+
# Set git credentials
40+
echo -e "[user]\n name = Minecraft Server on Docker\n email = server@example.com" >> /etc/gitconfig

build/ol/install-packages.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ dnf install -y ImageMagick \
2525
iputils \
2626
curl \
2727
git \
28+
git-lfs \
2829
jq \
2930
dos2unix \
3031
mysql \
@@ -47,3 +48,6 @@ curl -fsSL -o /tmp/knock.tar.gz https://github.com/Metalcape/knock/releases/down
4748
tar -xf /tmp/knock.tar.gz -C /usr/local/ && rm /tmp/knock.tar.gz
4849
ln -s /usr/local/sbin/knockd /usr/sbin/knockd
4950
setcap cap_net_raw=ep /usr/local/sbin/knockd
51+
52+
# Set git credentials
53+
echo -e "[user]\n name = Minecraft Server on Docker\n email = server@example.com" >> /etc/gitconfig

build/ubuntu/install-packages.sh

Lines changed: 4 additions & 0 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 \
@@ -37,3 +38,6 @@ tar -xf /tmp/knock.tar.gz -C /usr/local/ && rm /tmp/knock.tar.gz
3738
ln -s /usr/local/sbin/knockd /usr/sbin/knockd
3839
setcap cap_net_raw=ep /usr/local/sbin/knockd
3940
find /usr/lib -name 'libpcap.so.0.8' -execdir cp '{}' libpcap.so.1 \;
41+
42+
# Set git credentials
43+
echo -e "[user]\n name = Minecraft Server on Docker\n email = server@example.com" >> /etc/gitconfig

0 commit comments

Comments
 (0)