mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-10-11 22:47:13 +00:00
Merge remote-tracking branch 'origin/master' into build/fulltests-change-depends-condition
This commit is contained in:
commit
dab552e3b7
11 files changed
+69
-17
No files matched your search
@@ -43,12 +43,12 @@ jobs:
|
|||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
mcVersion: latest
|
mcVersion: latest
|
||||||
- variant: java25-graalvm
|
- variant: java25-graalvm
|
||||||
baseImage: container-registry.oracle.com/graalvm/jdk:25-ol8
|
baseImage: container-registry.oracle.com/graalvm/jdk:25-ol10
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
mcVersion: latest
|
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-ol10
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
mcVersion: latest
|
mcVersion: latest
|
||||||
- variant: java21
|
- variant: java21
|
||||||
@@ -70,7 +70,7 @@ jobs:
|
|||||||
platforms: linux/amd64,linux/arm/v7,linux/arm64
|
platforms: linux/amd64,linux/arm/v7,linux/arm64
|
||||||
mcVersion: 1.20.4
|
mcVersion: 1.20.4
|
||||||
- variant: java17-graalvm
|
- variant: java17-graalvm
|
||||||
baseImage: container-registry.oracle.com/graalvm/jdk:17-ol8
|
baseImage: container-registry.oracle.com/graalvm/jdk:17-ol10
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
mcVersion: 1.20.4
|
mcVersion: 1.20.4
|
||||||
- variant: java17-alpine
|
- variant: java17-alpine
|
||||||
|
|||||||
+1
-1
@@ -49,7 +49,7 @@ 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
|
||||||
|
|
||||||
ARG MC_HELPER_VERSION=1.50.5
|
ARG MC_HELPER_VERSION=1.50.6
|
||||||
ARG MC_HELPER_BASE_URL=${GITHUB_BASEURL}/itzg/mc-image-helper/releases/download/${MC_HELPER_VERSION}
|
ARG MC_HELPER_BASE_URL=${GITHUB_BASEURL}/itzg/mc-image-helper/releases/download/${MC_HELPER_VERSION}
|
||||||
# used for cache busting local copy of mc-image-helper
|
# used for cache busting local copy of mc-image-helper
|
||||||
ARG MC_HELPER_REV=1
|
ARG MC_HELPER_REV=1
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ dnf config-manager --set-enabled ol${os_major_version}_codeready_builder
|
|||||||
tee /etc/yum.repos.d/ol${os_major_version}-epel.repo <<EOF
|
tee /etc/yum.repos.d/ol${os_major_version}-epel.repo <<EOF
|
||||||
[ol${os_major_version}_developer_EPEL]
|
[ol${os_major_version}_developer_EPEL]
|
||||||
name=Oracle Linux \$releasever EPEL (\$basearch)
|
name=Oracle Linux \$releasever EPEL (\$basearch)
|
||||||
baseurl=https://yum.oracle.com/repo/OracleLinux/OL${os_major_version}/developer/EPEL/\$basearch/
|
baseurl=https://yum.oracle.com/repo/OracleLinux/OL${os_major_version}$([ "$os_major_version" -ge 10 ] && echo '/0' || echo '')/developer/EPEL/\$basearch/
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
enabled=1
|
enabled=1
|
||||||
@@ -26,6 +26,7 @@ dnf update -y
|
|||||||
|
|
||||||
# Install necessary packages
|
# Install necessary packages
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
|
# shellcheck disable=SC2046
|
||||||
dnf install -y \
|
dnf install -y \
|
||||||
ImageMagick \
|
ImageMagick \
|
||||||
file \
|
file \
|
||||||
@@ -36,25 +37,29 @@ dnf install -y \
|
|||||||
git \
|
git \
|
||||||
jq \
|
jq \
|
||||||
dos2unix \
|
dos2unix \
|
||||||
mysql \
|
$([ "$os_major_version" -ge 10 ] && echo 'mysql8.4' || echo 'mysql') \
|
||||||
procps-ng \
|
procps-ng \
|
||||||
tzdata \
|
tzdata \
|
||||||
rsync \
|
rsync \
|
||||||
nano \
|
nano \
|
||||||
unzip \
|
unzip \
|
||||||
zstd \
|
zstd \
|
||||||
lbzip2 \
|
$([ "$os_major_version" -ge 10 ] && echo 'bzip2' || echo 'lbzip2') \
|
||||||
libpcap \
|
libpcap \
|
||||||
libwebp \
|
libwebp \
|
||||||
findutils \
|
findutils \
|
||||||
which \
|
which \
|
||||||
glibc-langpack-en \
|
glibc-langpack-en \
|
||||||
|
$([ "$os_major_version" -ge 10 ] && echo 'git-lfs' || echo '') \
|
||||||
|
$([ "$os_major_version" -ge 10 ] && echo 'openssl' || echo '') \
|
||||||
${EXTRA_DNF_PACKAGES}
|
${EXTRA_DNF_PACKAGES}
|
||||||
|
|
||||||
# Install Git LFS
|
# Install Git LFS through third party repository for older OL releases
|
||||||
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.rpm.sh | sudo bash
|
if [ "$os_major_version" -lt 10 ]; then
|
||||||
dnf update -y
|
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.rpm.sh | sudo bash
|
||||||
dnf install -y git-lfs
|
dnf update -y
|
||||||
|
dnf install -y git-lfs
|
||||||
|
fi
|
||||||
|
|
||||||
# Clean up DNF when done
|
# Clean up DNF when done
|
||||||
dnf clean all
|
dnf clean all
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ 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. 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.
|
||||||
2. Short-term variant, subject to deprecation upon next version introduction
|
2. Short-term variant, subject to deprecation upon next version introduction
|
||||||
3. Based on the [Oracle GraalMV 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.
|
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)
|
4. This version of Java is [recommended for PaperMC 1.16.5](https://docs.papermc.io/paper/getting-started/#requirements)
|
||||||
|
|
||||||
!!! example "Example using java8"
|
!!! example "Example using java8"
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
"controllable",
|
"controllable",
|
||||||
"controlling",
|
"controlling",
|
||||||
"craftpresence",
|
"craftpresence",
|
||||||
|
"cull-less-leaves",
|
||||||
"ctm",
|
"ctm",
|
||||||
"custom-main-menu",
|
"custom-main-menu",
|
||||||
"dark-mode-everywhere",
|
"dark-mode-everywhere",
|
||||||
@@ -101,6 +102,7 @@
|
|||||||
"make-bubbles-pop",
|
"make-bubbles-pop",
|
||||||
"menumobs",
|
"menumobs",
|
||||||
"minecraft-rich-presence",
|
"minecraft-rich-presence",
|
||||||
|
"mining-speed-tooltips",
|
||||||
"model-gap-fix",
|
"model-gap-fix",
|
||||||
"more-overlays",
|
"more-overlays",
|
||||||
"mouse-tweaks",
|
"mouse-tweaks",
|
||||||
|
|||||||
@@ -32,6 +32,7 @@
|
|||||||
"continuity",
|
"continuity",
|
||||||
"controlling",
|
"controlling",
|
||||||
"craftpresence",
|
"craftpresence",
|
||||||
|
"Cull Less Leaves",
|
||||||
"cwb",
|
"cwb",
|
||||||
"DisableCustomWorldsAdvice",
|
"DisableCustomWorldsAdvice",
|
||||||
"distraction_free_recipes",
|
"distraction_free_recipes",
|
||||||
@@ -71,6 +72,7 @@
|
|||||||
"loadmyresources",
|
"loadmyresources",
|
||||||
"lootbeams",
|
"lootbeams",
|
||||||
"MindfulDarkness",
|
"MindfulDarkness",
|
||||||
|
"miningspeedtooltips",
|
||||||
"MouseTweaks",
|
"MouseTweaks",
|
||||||
"nicer-skies",
|
"nicer-skies",
|
||||||
"notenoughanimations",
|
"notenoughanimations",
|
||||||
|
|||||||
@@ -3,9 +3,15 @@ services:
|
|||||||
image: nginx
|
image: nginx
|
||||||
volumes:
|
volumes:
|
||||||
- ./web:/usr/share/nginx/html
|
- ./web:/usr/share/nginx/html
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "curl", "--fail", "http://localhost/configs.zip"]
|
||||||
|
interval: 3s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 3
|
||||||
mc:
|
mc:
|
||||||
depends_on:
|
depends_on:
|
||||||
- web
|
web:
|
||||||
|
condition: service_healthy
|
||||||
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
|
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
|
||||||
environment:
|
environment:
|
||||||
EULA: "true"
|
EULA: "true"
|
||||||
|
|||||||
@@ -3,9 +3,16 @@ services:
|
|||||||
image: nginx
|
image: nginx
|
||||||
volumes:
|
volumes:
|
||||||
- ./web:/usr/share/nginx/html
|
- ./web:/usr/share/nginx/html
|
||||||
|
healthcheck:
|
||||||
|
test:
|
||||||
|
["CMD", "curl", "--fail", "http://localhost/motion-tween-example.gif"]
|
||||||
|
interval: 3s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 3
|
||||||
mc:
|
mc:
|
||||||
depends_on:
|
depends_on:
|
||||||
- web
|
web:
|
||||||
|
condition: service_healthy
|
||||||
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
|
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
|
||||||
environment:
|
environment:
|
||||||
EULA: "true"
|
EULA: "true"
|
||||||
|
|||||||
@@ -3,9 +3,21 @@ services:
|
|||||||
image: nginx
|
image: nginx
|
||||||
volumes:
|
volumes:
|
||||||
- ./web:/usr/share/nginx/html
|
- ./web:/usr/share/nginx/html
|
||||||
|
healthcheck:
|
||||||
|
test:
|
||||||
|
[
|
||||||
|
"CMD",
|
||||||
|
"curl",
|
||||||
|
"--fail",
|
||||||
|
"http://localhost/4737386_minecraft_squircle_icon.png",
|
||||||
|
]
|
||||||
|
interval: 3s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 3
|
||||||
mc:
|
mc:
|
||||||
depends_on:
|
depends_on:
|
||||||
- web
|
web:
|
||||||
|
condition: service_healthy
|
||||||
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
|
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
|
||||||
environment:
|
environment:
|
||||||
EULA: "true"
|
EULA: "true"
|
||||||
|
|||||||
@@ -3,9 +3,21 @@ services:
|
|||||||
image: nginx
|
image: nginx
|
||||||
volumes:
|
volumes:
|
||||||
- ./web:/usr/share/nginx/html
|
- ./web:/usr/share/nginx/html
|
||||||
|
healthcheck:
|
||||||
|
test:
|
||||||
|
[
|
||||||
|
"CMD",
|
||||||
|
"curl",
|
||||||
|
"--fail",
|
||||||
|
"http://localhost/4737386_minecraft_squircle_icon.png",
|
||||||
|
]
|
||||||
|
interval: 3s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 3
|
||||||
mc:
|
mc:
|
||||||
depends_on:
|
depends_on:
|
||||||
- web
|
web:
|
||||||
|
condition: service_healthy
|
||||||
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
|
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
|
||||||
environment:
|
environment:
|
||||||
EULA: "true"
|
EULA: "true"
|
||||||
|
|||||||
@@ -3,9 +3,15 @@ services:
|
|||||||
image: nginx
|
image: nginx
|
||||||
volumes:
|
volumes:
|
||||||
- ./web:/usr/share/nginx/html
|
- ./web:/usr/share/nginx/html
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "curl", "--fail", "http://localhost/pack.toml"]
|
||||||
|
interval: 3s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 3
|
||||||
mc:
|
mc:
|
||||||
depends_on:
|
depends_on:
|
||||||
- web
|
web:
|
||||||
|
condition: service_healthy
|
||||||
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
|
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
|
||||||
environment:
|
environment:
|
||||||
EULA: "true"
|
EULA: "true"
|
||||||
|
|||||||
Reference in new issue
Block a user