mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-09-13 17:37:58 +00:00
Compare commits
25
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
07e9d59f50 | ||
|
|
8ace9969af | ||
|
|
2dbda0bed4 | ||
|
|
6ac97c41a5 | ||
|
|
a46dfa0a16 | ||
|
|
98989471f9 | ||
|
|
1aefe31c1c | ||
|
|
07b90ec1f4 | ||
|
|
11c7e64566 | ||
|
|
2becc9e25e | ||
|
|
a941ee8093 | ||
|
|
635a17949d | ||
|
|
c42d9b6170 | ||
|
|
f6ce093a9f | ||
|
|
b754ce7ed4 | ||
|
|
26e75f29ba | ||
|
|
43b090019d | ||
|
|
a9fec728e1 | ||
|
|
e22dfa898d | ||
|
|
c353752c0c | ||
|
|
b566c82892 | ||
|
|
a4abb22690 | ||
|
|
6a9551fafe | ||
|
|
e8061c08f7 | ||
|
|
2e085f174c |
@@ -2,14 +2,12 @@ name: Build and publish multiarch
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
|
||||||
- multiarch
|
- multiarch
|
||||||
- multiarch-latest
|
- multiarch-latest
|
||||||
- java15
|
- java15
|
||||||
- java16
|
- java16
|
||||||
- test/multiarch/*
|
- test/multiarch/*
|
||||||
tags:
|
tags:
|
||||||
- "[0-9]+.[0-9]+.[0-9]+"
|
|
||||||
- "[0-9]+.[0-9]+.[0-9]+-multiarch"
|
- "[0-9]+.[0-9]+.[0-9]+-multiarch"
|
||||||
- "[0-9]+.[0-9]+.[0-9]+-multiarch-latest"
|
- "[0-9]+.[0-9]+.[0-9]+-multiarch-latest"
|
||||||
- "[0-9]+.[0-9]+.[0-9]+-java15"
|
- "[0-9]+.[0-9]+.[0-9]+-java15"
|
||||||
@@ -35,7 +33,6 @@ jobs:
|
|||||||
tags: |
|
tags: |
|
||||||
type=ref,event=branch
|
type=ref,event=branch
|
||||||
type=ref,event=tag
|
type=ref,event=tag
|
||||||
type=edge,branch=master
|
|
||||||
|
|
||||||
- name: Setup Docker Buildx
|
- name: Setup Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
|
|||||||
@@ -17,4 +17,4 @@ jobs:
|
|||||||
./gh-md-toc --insert --no-backup README.md
|
./gh-md-toc --insert --no-backup README.md
|
||||||
- uses: stefanzweifel/git-auto-commit-action@v4.11.0
|
- uses: stefanzweifel/git-auto-commit-action@v4.11.0
|
||||||
with:
|
with:
|
||||||
commit_message: "docs: Auto update markdown TOC"
|
commit_message: Auto update markdown TOC
|
||||||
@@ -3,12 +3,14 @@ name: Build and Publish
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
- master
|
||||||
- java8
|
- java8
|
||||||
- openj9
|
- openj9
|
||||||
- openj9-11
|
- openj9-11
|
||||||
- adopt11
|
- adopt11
|
||||||
- test/*
|
- test/*
|
||||||
tags:
|
tags:
|
||||||
|
- "[0-9]+.[0-9]+.[0-9]+"
|
||||||
- "[0-9]+.[0-9]+.[0-9]+-java8"
|
- "[0-9]+.[0-9]+.[0-9]+-java8"
|
||||||
- "[0-9]+.[0-9]+.[0-9]+-openj9"
|
- "[0-9]+.[0-9]+.[0-9]+-openj9"
|
||||||
- "[0-9]+.[0-9]+.[0-9]+-openj9-11"
|
- "[0-9]+.[0-9]+.[0-9]+-openj9-11"
|
||||||
|
|||||||
+1
-2
@@ -1,4 +1,4 @@
|
|||||||
FROM adoptopenjdk:16-jre
|
FROM adoptopenjdk:latest
|
||||||
|
|
||||||
LABEL org.opencontainers.image.authors="Geoff Bourne <itzgeoff@gmail.com>"
|
LABEL org.opencontainers.image.authors="Geoff Bourne <itzgeoff@gmail.com>"
|
||||||
|
|
||||||
@@ -84,6 +84,5 @@ RUN dos2unix /start* && chmod +x /start*
|
|||||||
RUN dos2unix /health.sh && chmod +x /health.sh
|
RUN dos2unix /health.sh && chmod +x /health.sh
|
||||||
RUN dos2unix /autopause/* && chmod +x /autopause/*.sh
|
RUN dos2unix /autopause/* && chmod +x /autopause/*.sh
|
||||||
|
|
||||||
|
|
||||||
ENTRYPOINT [ "/start" ]
|
ENTRYPOINT [ "/start" ]
|
||||||
HEALTHCHECK --start-period=1m CMD /health.sh
|
HEALTHCHECK --start-period=1m CMD /health.sh
|
||||||
|
|||||||
@@ -143,7 +143,7 @@ By default, the container will download the latest version of the "vanilla" [Min
|
|||||||
* [Enabling Autopause](#enabling-autopause)
|
* [Enabling Autopause](#enabling-autopause)
|
||||||
* [Running on RaspberryPi](#running-on-raspberrypi)
|
* [Running on RaspberryPi](#running-on-raspberrypi)
|
||||||
|
|
||||||
<!-- Added by: runner, at: Fri May 21 12:45:51 UTC 2021 -->
|
<!-- Added by: runner, at: Thu May 20 01:17:11 UTC 2021 -->
|
||||||
|
|
||||||
<!--te-->
|
<!--te-->
|
||||||
|
|
||||||
@@ -274,7 +274,7 @@ To use a different version of Java, please use a docker tag to run your Minecraf
|
|||||||
|
|
||||||
| Tag name | Java version | Linux | JVM Type | Architecture |
|
| Tag name | Java version | Linux | JVM Type | Architecture |
|
||||||
| -------------- | -------------|--------|----------|-------------------|
|
| -------------- | -------------|--------|----------|-------------------|
|
||||||
| latest | 16 | Debian | Hotspot | amd64,arm64,armv7 |
|
| latest | 11 | Alpine | Hotspot | amd64 |
|
||||||
| java8 | 8 | Alpine | Hotspot | amd64 |
|
| java8 | 8 | Alpine | Hotspot | amd64 |
|
||||||
| java8-multiarch | 8 | Debian | Hotspot | amd64,arm64,armv7 |
|
| java8-multiarch | 8 | Debian | Hotspot | amd64,arm64,armv7 |
|
||||||
| java15 | 15 | Debian | Hotspot | amd64,arm64,armv7 |
|
| java15 | 15 | Debian | Hotspot | amd64,arm64,armv7 |
|
||||||
|
|||||||
+2
-2
@@ -99,7 +99,7 @@ case "${TYPE^^}" in
|
|||||||
|
|
||||||
FORGE)
|
FORGE)
|
||||||
log "**********************************************************************"
|
log "**********************************************************************"
|
||||||
log "WARNING: The image tag itzg/minecraft-server:java8 is recommended"
|
log "WARNING: The image tag itzg/minecraft-server:java8-multiarch is recommended"
|
||||||
log " since some mods require Java 8"
|
log " since some mods require Java 8"
|
||||||
log " Exception traces reporting ClassCastException: class jdk.internal.loader.ClassLoaders\$AppClassLoader"
|
log " Exception traces reporting ClassCastException: class jdk.internal.loader.ClassLoaders\$AppClassLoader"
|
||||||
log " can be fixed with java8"
|
log " can be fixed with java8"
|
||||||
@@ -117,7 +117,7 @@ case "${TYPE^^}" in
|
|||||||
|
|
||||||
FTB|CURSEFORGE)
|
FTB|CURSEFORGE)
|
||||||
log "**********************************************************************"
|
log "**********************************************************************"
|
||||||
log "WARNING: The image tag itzg/minecraft-server:java8 is recommended"
|
log "WARNING: The image tag itzg/minecraft-server:java8-multiarch is recommended"
|
||||||
log " since some mods require Java 8"
|
log " since some mods require Java 8"
|
||||||
log " Exception traces reporting ClassCastException: class jdk.internal.loader.ClassLoaders\$AppClassLoader"
|
log " Exception traces reporting ClassCastException: class jdk.internal.loader.ClassLoaders\$AppClassLoader"
|
||||||
log " can be fixed with java8"
|
log " can be fixed with java8"
|
||||||
|
|||||||
@@ -246,4 +246,3 @@ else
|
|||||||
exec mc-server-runner ${bootstrapArgs} ${mcServerRunnerArgs} java "${finalArgs[@]}"
|
exec mc-server-runner ${bootstrapArgs} ${mcServerRunnerArgs} java "${finalArgs[@]}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user