Name | Tag |
---|---|
Java 21 | ghcr.io/ptero-eggs/yolks:java_21 |
Java 17 | ghcr.io/ptero-eggs/yolks:java_17 |
Java 11 | ghcr.io/ptero-eggs/yolks:java_11 |
Java 8 | ghcr.io/ptero-eggs/yolks:java_8 |
Name | Description | Environment Variable | Default Value | User Viewable | User Editable |
---|---|---|---|---|---|
Server Jar File | The name of the Nukkit jar file to run the server with. | SERVER_JARFILE | server.jar | Yes | Yes |
Nukkit Version | The snapshot version of Nukkit to download (e.g. 1.0-20250805.172443-1219). Use "latest" for latest or leave empty and download manually. | NUKKIT_VERSION | latest | Yes | Yes |
#!/bin/ash
# Nukkit Installation Script
#
# Server Files: /mnt/server
apk add --no-cache openssl
cd /mnt/server
## Only download if a path is provided, otherwise continue.
if [ "${NUKKIT_VERSION}" == "latest" ]; then
wget https://repo.opencollab.dev/api/maven/latest/file/maven-snapshots/cn/nukkit/nukkit/1.0-SNAPSHOT?extension=jar -O ${SERVER_JARFILE}
elif [ -n "${NUKKIT_VERSION}" ]; then
wget https://repo.opencollab.dev/maven-snapshots/cn/nukkit/nukkit/1.0-SNAPSHOT/nukkit-${NUKKIT_VERSION}.jar -O ${SERVER_JARFILE}
fi
echo -s "Install completed!"