mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-05-22 11:45:34 +00:00
Compare commits
95 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 958aedf731 | |||
| 0e1c9261d1 | |||
| 3f2022da40 | |||
| 0f7464403c | |||
| acc7c0568a | |||
| 3b0f82fedd | |||
| ac234ae658 | |||
| 0f9d81e5f1 | |||
| 7072f5dc91 | |||
| 9b155f2496 | |||
| add00ad38d | |||
| a3cff3ce88 | |||
| 601d587927 | |||
| e195a38faa | |||
| e704348630 | |||
| 893f6754f0 | |||
| f137251e22 | |||
| 869f167c0c | |||
| 3d7107bdbd | |||
| bce01eb1a2 | |||
| c5d1b655ce | |||
| 529e9fd058 | |||
| 905768d050 | |||
| 0dd0199d5c | |||
| 925a63f035 | |||
| f4be04ceb4 | |||
| db4594b3b3 | |||
| bfd4e6247c | |||
| 4e31acb896 | |||
| 78e4ecc1d7 | |||
| a2251f23e1 | |||
| 6ef0da9a63 | |||
| 4321d2a7e6 | |||
| 639e0264c2 | |||
| 1c4db94b1b | |||
| f0cebe526a | |||
| 20b1477672 | |||
| c4b4997fac | |||
| d442f164ba | |||
| 34d4385ea6 | |||
| cc84e65979 | |||
| 6f5fcc42f9 | |||
| 071621b54a | |||
| 230a64af1b | |||
| 1f980edeb1 | |||
| 649263290f | |||
| 990de92dd7 | |||
| 4f15c244b2 | |||
| 5f9c8f53e4 | |||
| 57fee8b46d | |||
| 79face2d60 | |||
| ceec69391c | |||
| dfa5add6ba | |||
| 02677ce1e2 | |||
| 2902e13c61 | |||
| 6d01021a30 | |||
| 07ded28d20 | |||
| a2d79fb85b | |||
| ecf9a090b1 | |||
| 17a3aa8079 | |||
| 14fb905ec1 | |||
| 8629bf5cb5 | |||
| f05891e475 | |||
| f1453dd4c1 | |||
| 22b560ba5d | |||
| e3acafee2f | |||
| 03df627881 | |||
| d87e5bdaa2 | |||
| 2543a5417c | |||
| 614f6a4be0 | |||
| fe9735d8c1 | |||
| 10dcbe7b03 | |||
| 85103cd8cf | |||
| 12915b04b7 | |||
| fbc8f72a22 | |||
| 7229c40202 | |||
| 581b514970 | |||
| d030daf354 | |||
| 98e6adbe1a | |||
| b94cfc44a0 | |||
| 8a9e85fb17 | |||
| 8a39719427 | |||
| 4100aa1f61 | |||
| 4d5fe0a03b | |||
| 236bb565ce | |||
| 7608168823 | |||
| acabb9d93c | |||
| 4e9c00c4d5 | |||
| f3826422cf | |||
| 9b7459ad5c | |||
| c9dc6012f6 | |||
| a5aec72837 | |||
| af38a8fc7a | |||
| 58fa3c897d | |||
| e45621d8e2 |
@@ -81,7 +81,7 @@ jobs:
|
||||
uses: docker/build-push-action@v2.7.0
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm/v7,linux/arm64
|
||||
platforms: linux/amd64
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
# ensure latest base image is used
|
||||
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
FROM eclipse-temurin:17-jdk
|
||||
FROM adoptopenjdk:16-jdk-openj9
|
||||
|
||||
LABEL org.opencontainers.image.authors="Geoff Bourne <itzgeoff@gmail.com>"
|
||||
|
||||
@@ -60,7 +60,7 @@ RUN easy-add --var os=${TARGETOS} --var arch=${TARGETARCH}${TARGETVARIANT} \
|
||||
--var version=0.1.1 --var app=maven-metadata-release --file {{.app}} \
|
||||
--from https://github.com/itzg/{{.app}}/releases/download/{{.version}}/{{.app}}_{{.version}}_{{.os}}_{{.arch}}.tar.gz
|
||||
|
||||
ARG MC_HELPER_VERSION=1.11.0
|
||||
ARG MC_HELPER_VERSION=1.10.0
|
||||
ARG MC_HELPER_BASE_URL=https://github.com/itzg/mc-image-helper/releases/download/v${MC_HELPER_VERSION}
|
||||
RUN curl -fsSL ${MC_HELPER_BASE_URL}/mc-image-helper-${MC_HELPER_VERSION}.tgz \
|
||||
| tar -C /usr/share -zxf - \
|
||||
|
||||
@@ -275,7 +275,7 @@ When using the image `itzg:/minecraft-server` without a tag, the `latest` image
|
||||
|
||||
| Tag name | Java version | Linux | JVM Type | Architecture |
|
||||
| -------------- | -------------|--------|----------|-------------------|
|
||||
| latest | 17 | Debian | Hotspot | amd64,arm64,armv7 |
|
||||
| latest | 16 | Debian | Hotspot | amd64,arm64,armv7 |
|
||||
| java8 | 8 | Alpine | Hotspot | amd64 |
|
||||
| java8-multiarch | 8 | Debian | Hotspot | amd64,arm64,armv7 |
|
||||
| java8-openj9 | 8 | Debian | OpenJ9 | amd64 |
|
||||
|
||||
+13
-17
@@ -2,31 +2,27 @@
|
||||
set -eu
|
||||
|
||||
# shellcheck source=start-utils
|
||||
. "${SCRIPTS:-/}start-utils"
|
||||
. ${SCRIPTS:-/}start-utils
|
||||
|
||||
requireVar VANILLA_VERSION
|
||||
export TYPE=FABRIC
|
||||
: "${FABRIC_INSTALLER_VERSION:=${FABRICVERSION:-LATEST}}"
|
||||
: "${FABRIC_INSTALLER:=}"
|
||||
: "${FABRIC_INSTALLER_URL:=}"
|
||||
: "${FABRIC_LOADER_VERSION:=LATEST}"
|
||||
export SERVER=fabric-server-${VANILLA_VERSION}.jar
|
||||
|
||||
isDebugging && set -x
|
||||
|
||||
log "Checking Fabric version information."
|
||||
if [[ $FABRIC_INSTALLER ]]; then
|
||||
FABRIC_INSTALLER_VERSION=$(echo -n "$FABRIC_INSTALLER" | mc-image-helper hash)
|
||||
elif [[ $FABRIC_INSTALLER_URL ]]; then
|
||||
FABRIC_INSTALLER_VERSION=$(echo -n "$FABRIC_INSTALLER_URL" | mc-image-helper hash)
|
||||
elif [[ ${FABRIC_INSTALLER_VERSION^^} = LATEST ]]; then
|
||||
FABRIC_INSTALLER_VERSION=$(maven-metadata-release https://maven.fabricmc.net/net/fabricmc/fabric-installer/maven-metadata.xml)
|
||||
fi
|
||||
|
||||
export SERVER=fabric-server-${VANILLA_VERSION}-${FABRIC_INSTALLER_VERSION}.jar
|
||||
|
||||
if [[ ! -e ${SERVER} ]]; then
|
||||
|
||||
: ${FABRIC_INSTALLER:=}
|
||||
: ${FABRIC_INSTALLER_URL:=}
|
||||
: ${FABRIC_LOADER_VERSION:=LATEST}
|
||||
: ${FABRIC_INSTALLER_VERSION:=${FABRICVERSION:-LATEST}}
|
||||
|
||||
if [[ -z $FABRIC_INSTALLER && -z $FABRIC_INSTALLER_URL ]]; then
|
||||
log "Checking Fabric version information."
|
||||
if [[ ${FABRIC_INSTALLER_VERSION^^} = LATEST ]]; then
|
||||
FABRIC_INSTALLER_VERSION=$(maven-metadata-release https://maven.fabricmc.net/net/fabricmc/fabric-installer/maven-metadata.xml)
|
||||
fi
|
||||
|
||||
FABRIC_INSTALLER="fabric-installer-${FABRIC_INSTALLER_VERSION}.jar"
|
||||
FABRIC_INSTALLER_URL="https://maven.fabricmc.net/net/fabricmc/fabric-installer/${FABRIC_INSTALLER_VERSION}/fabric-installer-${FABRIC_INSTALLER_VERSION}.jar"
|
||||
elif [[ -z $FABRIC_INSTALLER ]]; then
|
||||
@@ -74,4 +70,4 @@ if [[ ! -e ${SERVER} ]]; then
|
||||
fi
|
||||
|
||||
export FAMILY=FABRIC
|
||||
exec "${SCRIPTS:-/}start-setupWorld" "$@"
|
||||
exec ${SCRIPTS:-/}start-setupWorld "$@"
|
||||
|
||||
Reference in New Issue
Block a user