mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-07-09 18:15:10 +00:00
build: add Java 23 variants (#3297)
This commit is contained in:
@@ -20,10 +20,12 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
# 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:
|
||||||
- java21-graalvm
|
- java23
|
||||||
|
- java23-graalvm
|
||||||
- java21
|
- java21
|
||||||
- java21-jdk
|
|
||||||
- java21-alpine
|
- java21-alpine
|
||||||
|
- java21-graalvm
|
||||||
|
- java21-jdk
|
||||||
- java17
|
- java17
|
||||||
- java17-graalvm
|
- java17-graalvm
|
||||||
- java17-alpine
|
- java17-alpine
|
||||||
@@ -33,6 +35,15 @@ jobs:
|
|||||||
- java8-jdk
|
- java8-jdk
|
||||||
- java11
|
- java11
|
||||||
include:
|
include:
|
||||||
|
# JAVA 23
|
||||||
|
- variant: java23
|
||||||
|
baseImage: eclipse-temurin:23-jre
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
mcVersion: latest
|
||||||
|
- variant: java23-graalvm
|
||||||
|
baseImage: container-registry.oracle.com/graalvm/jdk:23-ol8
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
|
mcVersion: latest
|
||||||
# JAVA 21:
|
# JAVA 21:
|
||||||
- variant: java21-graalvm
|
- variant: java21-graalvm
|
||||||
baseImage: container-registry.oracle.com/graalvm/jdk:21-ol8
|
baseImage: container-registry.oracle.com/graalvm/jdk:21-ol8
|
||||||
|
|||||||
@@ -4,14 +4,10 @@ title: Modifying config files
|
|||||||
|
|
||||||
## Replacing variables inside configs
|
## Replacing variables inside configs
|
||||||
|
|
||||||
Sometimes you have mods or plugins that require configuration information that is only available at runtime.
|
Sometimes you have mods or plugins that require configuration information that is only available at deploy-time. For example if you need to configure a plugin to connect to a database, you don't want to include this information in your Git repository or Docker image.
|
||||||
For example if you need to configure a plugin to connect to a database,
|
Or maybe you have some runtime information like the server name that needs to be set in your config files after the container starts.
|
||||||
you don't want to include this information in your Git repository or Docker image.
|
|
||||||
Or maybe you have some runtime information like the server name that needs to be set
|
|
||||||
in your config files after the container starts.
|
|
||||||
|
|
||||||
For those cases there is the option to replace defined variables inside your configs
|
For those cases there is the option to replace defined variables inside your configs with environment variables defined at container runtime.
|
||||||
with environment variables defined at container runtime.
|
|
||||||
|
|
||||||
When the environment variable `REPLACE_ENV_IN_PLACE` is set to `true` (the default), the startup script will go through all files inside the container's `/data` path and replace variables that match the container's environment variables. Variables can instead (or in addition to) be replaced in files sync'ed from `/plugins`, `/mods`, and `/config` by setting `REPLACE_ENV_DURING_SYNC` to `true` (defaults to `false`).
|
When the environment variable `REPLACE_ENV_IN_PLACE` is set to `true` (the default), the startup script will go through all files inside the container's `/data` path and replace variables that match the container's environment variables. Variables can instead (or in addition to) be replaced in files sync'ed from `/plugins`, `/mods`, and `/config` by setting `REPLACE_ENV_DURING_SYNC` to `true` (defaults to `false`).
|
||||||
|
|
||||||
|
|||||||
@@ -95,6 +95,7 @@ Disabling mods within docker compose files:
|
|||||||
## Mods/plugins list
|
## Mods/plugins list
|
||||||
|
|
||||||
You may also download or copy over individual mods/plugins using the `MODS` or `PLUGINS` environment variables. Both are a comma or newline delimited list of
|
You may also download or copy over individual mods/plugins using the `MODS` or `PLUGINS` environment variables. Both are a comma or newline delimited list of
|
||||||
|
|
||||||
- URL of a jar file
|
- URL of a jar file
|
||||||
- container path to a jar file
|
- container path to a jar file
|
||||||
- container path to a directory containing jar files
|
- container path to a directory containing jar files
|
||||||
|
|||||||
@@ -14,6 +14,8 @@ where `<tag>` refers to the first column of this table:
|
|||||||
|------------------|--------------|--------|--------------------|---------------------|
|
|------------------|--------------|--------|--------------------|---------------------|
|
||||||
| latest | 21 | Ubuntu | Hotspot | amd64, arm64 |
|
| latest | 21 | Ubuntu | Hotspot | amd64, arm64 |
|
||||||
| stable | 21 | Ubuntu | Hotspot | amd64, arm64 |
|
| stable | 21 | Ubuntu | Hotspot | amd64, arm64 |
|
||||||
|
| java23 | 23 | Ubuntu | Hotspot | amd64, arm64 |
|
||||||
|
| java23-graalvm | 23 | Oracle | Oracle GraalVM[^1] | amd64, arm64 |
|
||||||
| 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 |
|
||||||
|
|||||||
Reference in New Issue
Block a user