mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-03-18 20:45:57 +00:00
Compare commits
7 Commits
dependabot
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fba656561f | ||
|
|
cf8ab31e25 | ||
|
|
68bb650617 | ||
|
|
c5a298fa05 | ||
|
|
5dff0b8541 | ||
|
|
9c9a3a8b43 | ||
|
|
3bbe3b7c80 |
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -27,6 +27,7 @@ jobs:
|
|||||||
# NOTE: the "latest" variant is identified in the Docker meta step's 'latest' config
|
# NOTE: the "latest" variant is identified in the Docker meta step's 'latest' config
|
||||||
variant:
|
variant:
|
||||||
- java25
|
- java25
|
||||||
|
- java25-alpine
|
||||||
- java25-jdk
|
- java25-jdk
|
||||||
- java21
|
- java21
|
||||||
- java21-alpine
|
- java21-alpine
|
||||||
@@ -42,6 +43,10 @@ jobs:
|
|||||||
baseImage: eclipse-temurin:25-jre
|
baseImage: eclipse-temurin:25-jre
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
mcVersion: latest
|
mcVersion: latest
|
||||||
|
- variant: java25-alpine
|
||||||
|
baseImage: eclipse-temurin:25-jre-alpine
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
mcVersion: latest
|
||||||
- variant: java25-jdk
|
- variant: java25-jdk
|
||||||
baseImage: eclipse-temurin:25
|
baseImage: eclipse-temurin:25
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
|
|||||||
6
.github/workflows/verify-pr.yml
vendored
6
.github/workflows/verify-pr.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
variant:
|
variant:
|
||||||
- java25
|
- java25
|
||||||
- java21-alpine
|
- java25-alpine
|
||||||
- java17
|
- java17
|
||||||
- java8
|
- java8
|
||||||
include:
|
include:
|
||||||
@@ -32,8 +32,8 @@ jobs:
|
|||||||
baseImage: eclipse-temurin:25-jre
|
baseImage: eclipse-temurin:25-jre
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
mcVersion: latest
|
mcVersion: latest
|
||||||
- variant: java21-alpine
|
- variant: java25-alpine
|
||||||
baseImage: eclipse-temurin:21-jre-alpine
|
baseImage: eclipse-temurin:25-jre-alpine
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
mcVersion: latest
|
mcVersion: latest
|
||||||
# JAVA 17:
|
# JAVA 17:
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ RUN easy-add --var os=${TARGETOS} --var arch=${TARGETARCH}${TARGETVARIANT} \
|
|||||||
--from ${GITHUB_BASEURL}/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_{{.os}}_{{.arch}}.tar.gz
|
--from ${GITHUB_BASEURL}/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_{{.os}}_{{.arch}}.tar.gz
|
||||||
|
|
||||||
# renovate: datasource=github-releases packageName=itzg/rcon-cli
|
# renovate: datasource=github-releases packageName=itzg/rcon-cli
|
||||||
ARG RCON_CLI_VERSION=1.7.3
|
ARG RCON_CLI_VERSION=1.7.4
|
||||||
RUN easy-add --var os=${TARGETOS} --var arch=${TARGETARCH}${TARGETVARIANT} \
|
RUN easy-add --var os=${TARGETOS} --var arch=${TARGETARCH}${TARGETVARIANT} \
|
||||||
--var version=${RCON_CLI_VERSION} --var app=rcon-cli --file {{.app}} \
|
--var version=${RCON_CLI_VERSION} --var app=rcon-cli --file {{.app}} \
|
||||||
--from ${GITHUB_BASEURL}/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_{{.os}}_{{.arch}}.tar.gz
|
--from ${GITHUB_BASEURL}/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_{{.os}}_{{.arch}}.tar.gz
|
||||||
@@ -49,7 +49,7 @@ RUN easy-add --var os=${TARGETOS} --var arch=${TARGETARCH}${TARGETVARIANT} \
|
|||||||
--from ${GITHUB_BASEURL}/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_{{.os}}_{{.arch}}.tar.gz
|
--from ${GITHUB_BASEURL}/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_{{.os}}_{{.arch}}.tar.gz
|
||||||
|
|
||||||
# renovate: datasource=github-releases packageName=itzg/mc-server-runner
|
# renovate: datasource=github-releases packageName=itzg/mc-server-runner
|
||||||
ARG MC_SERVER_RUNNER_VERSION=1.14.2
|
ARG MC_SERVER_RUNNER_VERSION=1.14.3
|
||||||
RUN easy-add --var os=${TARGETOS} --var arch=${TARGETARCH}${TARGETVARIANT} \
|
RUN easy-add --var os=${TARGETOS} --var arch=${TARGETARCH}${TARGETVARIANT} \
|
||||||
--var version=${MC_SERVER_RUNNER_VERSION} --var app=mc-server-runner --file {{.app}} \
|
--var version=${MC_SERVER_RUNNER_VERSION} --var app=mc-server-runner --file {{.app}} \
|
||||||
--from ${GITHUB_BASEURL}/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_{{.os}}_{{.arch}}.tar.gz
|
--from ${GITHUB_BASEURL}/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_{{.os}}_{{.arch}}.tar.gz
|
||||||
|
|||||||
@@ -9,12 +9,12 @@ MarkupSafe==3.0.3
|
|||||||
mergedeep==1.3.4
|
mergedeep==1.3.4
|
||||||
mkdocs==1.6.1
|
mkdocs==1.6.1
|
||||||
mkdocs-autorefs==1.4.4
|
mkdocs-autorefs==1.4.4
|
||||||
mkdocs-get-deps==0.2.0
|
mkdocs-get-deps==0.2.2
|
||||||
mkdocstrings==1.0.3
|
mkdocstrings==1.0.3
|
||||||
mkdocstrings-python==2.0.3
|
mkdocstrings-python==2.0.3
|
||||||
packaging==26.0
|
packaging==26.0
|
||||||
pathspec==1.0.4
|
pathspec==1.0.4
|
||||||
platformdirs==4.9.2
|
platformdirs==4.9.4
|
||||||
Pygments==2.19.2
|
Pygments==2.19.2
|
||||||
pymdown-extensions==10.21
|
pymdown-extensions==10.21
|
||||||
python-dateutil==2.9.0.post0
|
python-dateutil==2.9.0.post0
|
||||||
@@ -22,4 +22,4 @@ PyYAML==6.0.3
|
|||||||
pyyaml_env_tag==1.1
|
pyyaml_env_tag==1.1
|
||||||
six==1.17.0
|
six==1.17.0
|
||||||
watchdog==6.0.0
|
watchdog==6.0.0
|
||||||
zensical==0.0.24
|
zensical==0.0.27
|
||||||
|
|||||||
@@ -15,25 +15,19 @@ where `<tag>` refers to the first column of this table:
|
|||||||
| latest | 25 | Ubuntu | Hotspot | amd64, arm64 | |
|
| latest | 25 | Ubuntu | Hotspot | amd64, arm64 | |
|
||||||
| stable | 25 | Ubuntu | Hotspot | amd64, arm64 | |
|
| stable | 25 | Ubuntu | Hotspot | amd64, arm64 | |
|
||||||
| java25 | 25 | Ubuntu | Hotspot | amd64, arm64 | |
|
| java25 | 25 | Ubuntu | Hotspot | amd64, arm64 | |
|
||||||
|
| java25-alpine | 25 | Alpine | Hotspot | amd64, arm64 | |
|
||||||
| java25-jdk | 25 | Ubuntu | Hotspot+JDK | amd64, arm64 | |
|
| java25-jdk | 25 | Ubuntu | Hotspot+JDK | amd64, arm64 | |
|
||||||
| java25-graalvm | 25 | Oracle | Oracle GraalVM (3) | amd64, arm64 | (5) |
|
|
||||||
| java21 | 21 | Ubuntu | Hotspot | amd64, arm64 | |
|
| java21 | 21 | Ubuntu | Hotspot | amd64, arm64 | |
|
||||||
| java21-jdk | 21 | Ubuntu | Hotspot+JDK | amd64, arm64 | |
|
| java21-jdk | 21 | Ubuntu | Hotspot+JDK | amd64, arm64 | |
|
||||||
| java21-alpine | 21 | Alpine | Hotspot | amd64, arm64 | |
|
| java21-alpine | 21 | Alpine | Hotspot | amd64, arm64 | |
|
||||||
| java21-graalvm | 21 | Oracle | Oracle GraalVM (3) | amd64, arm64 | (5) |
|
|
||||||
| java17 | 17 | Ubuntu | Hotspot | amd64, arm64, armv7 | |
|
| java17 | 17 | Ubuntu | Hotspot | amd64, arm64, armv7 | |
|
||||||
| java17-graalvm | 17 | Oracle | Oracle GraalVM (3) | amd64, arm64 | (5) |
|
| java16 | 16 | Ubuntu | Hotspot | amd64, arm64, armv7 | (1) |
|
||||||
| java16 | 16 | Ubuntu | Hotspot | amd64, arm64, armv7 | (4) |
|
|
||||||
| java11 | 11 | Ubuntu | Hotspot | amd64, arm64, armv7 | |
|
| java11 | 11 | Ubuntu | Hotspot | amd64, arm64, armv7 | |
|
||||||
| java8 | 8 | Ubuntu | Hotspot | amd64, arm64, armv7 | |
|
| java8 | 8 | Ubuntu | Hotspot | amd64, arm64, armv7 | |
|
||||||
|
|
||||||
Notes
|
Notes
|
||||||
|
|
||||||
1. Why no arm64 for Java 17 Alpine? That is because the base images, such as [elipse-temurin](https://hub.docker.com/_/eclipse-temurin/tags?page=&page_size=&ordering=&name=17-jre-alpine) do not provide support for that. Use the Ubuntu-based images instead.
|
1. This version of Java is [recommended for PaperMC 1.16.5](https://docs.papermc.io/paper/getting-started/#requirements)
|
||||||
2. Short-term variant, subject to deprecation upon next version introduction
|
|
||||||
3. Based on the [Oracle GraalVM images](https://blogs.oracle.com/java/post/new-oracle-graalvm-container-images), which as of JDK 17, are now under the [GraalVM Free License](https://blogs.oracle.com/java/post/graalvm-free-license) incorporating what used to be known as the GraalVM Enterprise.
|
|
||||||
4. This version of Java is [recommended for PaperMC 1.16.5](https://docs.papermc.io/paper/getting-started/#requirements)
|
|
||||||
5. Due to these images using Oracle Linux, (which is based on Red Hat Enterprise Linux) Forge Installer will not work due to its use of zlib-ng. Use other images for initial installation and Forge version upgrade.
|
|
||||||
|
|
||||||
!!! example "Example using java8"
|
!!! example "Example using java8"
|
||||||
|
|
||||||
@@ -127,6 +121,7 @@ Forge also doesn't support openj9 JVM implementation.
|
|||||||
|
|
||||||
The following image tags have been deprecated and are no longer receiving updates:
|
The following image tags have been deprecated and are no longer receiving updates:
|
||||||
|
|
||||||
|
- java25-graalvm, java21-graalvm, java17-graalvm
|
||||||
- adopt13
|
- adopt13
|
||||||
- adopt14
|
- adopt14
|
||||||
- adopt15
|
- adopt15
|
||||||
|
|||||||
13
images.json
13
images.json
@@ -24,12 +24,20 @@
|
|||||||
"jvm": "hotspot",
|
"jvm": "hotspot",
|
||||||
"architectures": ["amd64", "arm64"]
|
"architectures": ["amd64", "arm64"]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"tag": "java25-alpine",
|
||||||
|
"java": "25",
|
||||||
|
"distribution": "alpine",
|
||||||
|
"jvm": "hotspot",
|
||||||
|
"architectures": ["amd64", "arm64"]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"tag": "java25-graalvm",
|
"tag": "java25-graalvm",
|
||||||
"java": "25",
|
"java": "25",
|
||||||
"distribution": "oracle",
|
"distribution": "oracle",
|
||||||
"jvm": "graalvm",
|
"jvm": "graalvm",
|
||||||
"architectures": ["amd64", "arm64"]
|
"architectures": ["amd64", "arm64"],
|
||||||
|
"deprecated": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"tag": "java24",
|
"tag": "java24",
|
||||||
@@ -67,7 +75,8 @@
|
|||||||
"java": "21",
|
"java": "21",
|
||||||
"distribution": "oracle",
|
"distribution": "oracle",
|
||||||
"jvm": "graalvm",
|
"jvm": "graalvm",
|
||||||
"architectures": ["amd64", "arm64"]
|
"architectures": ["amd64", "arm64"],
|
||||||
|
"deprecated": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"tag": "java21-jdk",
|
"tag": "java21-jdk",
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 75 KiB |
@@ -54,8 +54,8 @@ fi
|
|||||||
|
|
||||||
if isTrue "${DEBUG_MEMORY:-false}"; then
|
if isTrue "${DEBUG_MEMORY:-false}"; then
|
||||||
log "Memory usage and availability (in MB)"
|
log "Memory usage and availability (in MB)"
|
||||||
uname -pars
|
uname -pars | applyLogPrefix
|
||||||
free -m
|
free -m | applyLogPrefix
|
||||||
fi
|
fi
|
||||||
|
|
||||||
##########################################
|
##########################################
|
||||||
|
|||||||
@@ -125,6 +125,12 @@ function logn() {
|
|||||||
echo -n "[init] $*"
|
echo -n "[init] $*"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Use as
|
||||||
|
# cmd | applyLogPrefix
|
||||||
|
function applyLogPrefix() {
|
||||||
|
sed 's/^/[init] /'
|
||||||
|
}
|
||||||
|
|
||||||
function log() {
|
function log() {
|
||||||
local oldState
|
local oldState
|
||||||
# The return status when listing options is zero if all optnames are enabled, non- zero otherwise.
|
# The return status when listing options is zero if all optnames are enabled, non- zero otherwise.
|
||||||
|
|||||||
Reference in New Issue
Block a user