Update to 1.26
This commit is contained in:
parent
d01a1e3d92
commit
72861f25bb
2 changed files with 5 additions and 5 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
FROM openjdk:21-buster
|
FROM openjdk:21-buster
|
||||||
|
|
||||||
LABEL version="1.25.0"
|
LABEL version="1.26.0"
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y curl unzip && \
|
RUN apt-get update && apt-get install -y curl unzip && \
|
||||||
adduser --uid 99 --gid 100 --home /data --disabled-password minecraft
|
adduser --uid 99 --gid 100 --home /data --disabled-password minecraft
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
NEOFORGE_VERSION=21.1.81
|
NEOFORGE_VERSION=21.1.83
|
||||||
cd /data
|
cd /data
|
||||||
|
|
||||||
if ! [[ "$EULA" = "false" ]]; then
|
if ! [[ "$EULA" = "false" ]]; then
|
||||||
|
|
@ -12,10 +12,10 @@ else
|
||||||
exit 99
|
exit 99
|
||||||
fi
|
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*
|
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
|
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.25.0.zip' -d /data
|
unzip -u -o 'Server-Files-1.26.0.zip' -d /data
|
||||||
DIR_TEST=$(find . -type d -maxdepth 1 | tail -1 | sed 's/^.\{2\}//g')
|
DIR_TEST=$(find . -type d -maxdepth 1 | tail -1 | sed 's/^.\{2\}//g')
|
||||||
if [[ $(find . -type d -maxdepth 1 | wc -l) -gt 1 ]]; then
|
if [[ $(find . -type d -maxdepth 1 | wc -l) -gt 1 ]]; then
|
||||||
cd "${DIR_TEST}"
|
cd "${DIR_TEST}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue