diff --git a/build/alpine/install-packages.sh b/build/alpine/install-packages.sh index 28a1a5b..24bba09 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 82f87ab..f216662 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 5c4657d..134ad02 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