Update to 1.26
This commit is contained in:
parent
4d10ceec1e
commit
bdec885d42
2 changed files with 5 additions and 5 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
FROM openjdk:21-buster
|
||||
|
||||
LABEL version="1.25.0"
|
||||
LABEL version="1.26.0"
|
||||
|
||||
RUN apt-get update && apt-get install -y curl unzip && \
|
||||
adduser --uid 99 --gid 100 --home /data --disabled-password minecraft
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
set -x
|
||||
|
||||
NEOFORGE_VERSION=21.1.81
|
||||
NEOFORGE_VERSION=21.1.83
|
||||
cd /data
|
||||
|
||||
if ! [[ "$EULA" = "false" ]]; then
|
||||
|
|
@ -12,10 +12,10 @@ else
|
|||
exit 99
|
||||
fi
|
||||
|
||||
if ! [[ -f 'Server-Files-1.25.0.zip' ]]; then
|
||||
if ! [[ -f 'Server-Files-1.26.0.zip' ]]; then
|
||||
rm -fr config defaultconfigs kubejs mods packmenu Simple.zip forge*
|
||||
curl -Lo 'Server-Files-1.25.0.zip' 'https://edge.forgecdn.net/files/5940/563/Server-Files-1.25.zip' || exit 9
|
||||
unzip -u -o 'Server-Files-1.25.0.zip' -d /data
|
||||
curl -Lo 'Server-Files-1.26.0.zip' 'https://edge.forgecdn.net/files/5961/055/Server-Files-1.26.zip' || exit 9
|
||||
unzip -u -o 'Server-Files-1.26.0.zip' -d /data
|
||||
DIR_TEST=$(find . -type d -maxdepth 1 | tail -1 | sed 's/^.\{2\}//g')
|
||||
if [[ $(find . -type d -maxdepth 1 | wc -l) -gt 1 ]]; then
|
||||
cd "${DIR_TEST}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue