Compare commits

..

39 Commits

Author SHA1 Message Date
Geoff Bourne
aeae29046c Auto-merging via docker-versions-create 2022-01-23 22:24:39 -06:00
Geoff Bourne
726c77537c Auto-merging via docker-versions-create 2022-01-23 11:01:32 -06:00
Geoff Bourne
854ac86bed Auto-merging via docker-versions-create 2022-01-20 23:10:46 +00:00
Geoff Bourne
79345d69c2 Auto-merging via docker-versions-create 2022-01-17 20:17:28 -06:00
Geoff Bourne
7516b53e84 Auto-merging via docker-versions-create 2022-01-10 06:58:54 -06:00
Geoff Bourne
eafdf26d94 Auto-merging via docker-versions-create 2022-01-08 15:23:11 -06:00
Geoff Bourne
984c969da2 Auto-merging via docker-versions-create 2022-01-06 22:17:05 -06:00
Geoff Bourne
aff65b74ff Auto-merging via docker-versions-create 2021-12-23 16:10:08 -06:00
Geoff Bourne
2ed5de68f9 Auto-merging via docker-versions-create 2021-12-13 21:30:01 -06:00
Geoff Bourne
a4b6ee6d3b Auto-merging via docker-versions-create 2021-12-12 19:53:03 -06:00
Geoff Bourne
6729ba462e Merge branch 'master' of github.com:itzg/docker-minecraft-server 2021-12-12 15:35:14 -06:00
Geoff Bourne
4b28d5e472 fix: qualify Fabric server jar by installer version
Fixes #1191
2021-12-12 15:28:30 -06:00
Geoff Bourne
3a31ce757d Merging latest from master 2021-12-12 09:19:48 -06:00
Geoff Bourne
be2ef20fc1 Auto-merging via docker-versions-create 2021-12-11 16:25:35 -06:00
Geoff Bourne
3f2022da40 Merge branch 'master' of github.com:itzg/docker-minecraft-server 2021-12-11 16:23:25 -06:00
Geoff Bourne
0f7464403c build: added github release creation step to docker-versions-create.sh 2021-12-11 16:09:15 -06:00
Geoff Bourne
6020400d3b Auto-merging via docker-versions-create 2021-12-10 21:05:35 -06:00
Geoff Bourne
ae96adaeec Auto-merging via docker-versions-create 2021-12-10 10:43:14 -06:00
Geoff Bourne
d34be9f20e Auto-merging via docker-versions-create 2021-12-10 07:58:31 -06:00
Geoff Bourne
64a02d28bc Auto-merging via docker-versions-create 2021-12-06 22:06:58 -06:00
Geoff Bourne
c446cb11da Auto-merging via docker-versions-create 2021-12-04 10:00:59 -06:00
Geoff Bourne
7aea5b593e Auto-merging via docker-versions-create 2021-12-02 19:47:40 -06:00
Geoff Bourne
91adfaa1d9 Auto-merging via docker-versions-create 2021-11-24 15:58:26 -06:00
Geoff Bourne
e7b223f1c6 Auto-merging via docker-versions-create 2021-11-24 14:35:16 -06:00
Geoff Bourne
45eff98011 Track latest from master 2021-11-16 19:02:53 -06:00
Geoff Bourne
b4111f0428 Auto-merging via docker-versions-create 2021-11-16 18:52:49 -06:00
Geoff Bourne
288bdf3804 Auto-merging via docker-versions-create 2021-11-15 20:49:35 -06:00
Geoff Bourne
5bc1ac672e Auto-merging via docker-versions-create 2021-11-13 19:18:44 -06:00
Geoff Bourne
a503ad2ec2 Auto-merging via docker-versions-create 2021-11-13 18:53:18 -06:00
Geoff Bourne
3042aa4909 Auto-merging via docker-versions-create 2021-11-12 21:25:05 -06:00
Geoff Bourne
8882ae5f89 Auto-merging via docker-versions-create 2021-11-06 21:41:15 -05:00
Geoff Bourne
4149db7f11 Auto-merging via docker-versions-create 2021-11-04 21:08:06 -05:00
Geoff Bourne
666f538ad5 Auto-merging via docker-versions-create 2021-10-31 09:49:21 -05:00
Geoff Bourne
145403ea54 Merge branch 'master' into java17 2021-10-27 21:28:49 -05:00
Geoff Bourne
5392801ecd Auto-merging via docker-versions-create 2021-10-25 19:26:48 -05:00
Geoff Bourne
3dfd70d068 Auto-merging via docker-versions-create 2021-10-24 20:31:59 -05:00
Geoff Bourne
e5bc9b939f Auto-merging via docker-versions-create 2021-10-23 09:47:31 -05:00
Geoff Bourne
1b620d2d6d Auto-merging via docker-versions-create 2021-10-22 15:57:41 -05:00
Geoff Bourne
28d77853cb Added java17 variant
#1054
2021-10-19 21:34:02 -05:00
3 changed files with 11 additions and 35 deletions

View File

@@ -286,7 +286,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 |
@@ -899,12 +899,6 @@ Example of expected Vanillatweaks file format:
"coordinates hud"
],
"items": ["armored elytra"]
},
"craftingtweaks": {
"quality of life": [
"rotten flesh to leather",
"back to blocks"
]
}
}
```

View File

@@ -33,7 +33,7 @@ if [[ "$VANILLATWEAKS_SHARECODE" ]]; then
fi
fi
# Use vanillatweaks file to specify VT and datapacks and crafting tweaks
# Use vanillatweaks file to specify VT and datapacks
if [[ "$VANILLATWEAKS_FILE" ]]; then
if [ ! -f "$VANILLATWEAKS_FILE" ]; then
log "ERROR: given VANILLATWEAKS_FILE file does not exist"
@@ -41,10 +41,8 @@ if [[ "$VANILLATWEAKS_FILE" ]]; then
fi
PACKS=$(jq -jc '.packs' $VANILLATWEAKS_FILE)
CRAFTING_TWEAKS=$(jq -jc '.craftingtweaks' $VANILLATWEAKS_FILE)
if [ ! "$PACKS" ] && [ ! "$CRAFTING_TWEAKS" ]; then
log "ERROR: unable to retrieve packs or crafting tweaks from $VANILLATWEAKS_FILE"
if [ ! "$PACKS" ]; then
log "ERROR: unable to retrieve packs from $VANILLATWEAKS_FILE"
exit 2
fi
@@ -60,19 +58,19 @@ if [[ "$PACKS" ]] && [[ "$VT_VERSION" ]]; then
VT_ZIPDATA_URL=https://vanillatweaks.net/assets/server/zipdatapacks.php
DOWNLOAD_URL=$(curl -X POST -F "packs=${PACKS}" -F "version=${VT_VERSION}" $VT_ZIPDATA_URL | jq -r '.link')
if [ ! "$DOWNLOAD_URL" ]; then
log "ERROR: unable to retrieve datapack DOWNLOAD_URL from vanillatweaks.net!"
log "ERROR: unable to retrieve DOWNLOAD_URL from vanillatweaks.net!"
exit 2
fi
TEMPZIP=/tmp/vanillatweaks.zip
if ! get -o $TEMPZIP "https://vanillatweaks.net${DOWNLOAD_URL}"; then
log "ERROR: failed to download datapacks from ${DOWNLOAD_URL}"
if ! get -o $TEMPZIP "https://vanillatweaks.net${DOWNLOAD_URL}"; then
log "ERROR: failed to download from ${DOWNLOAD_URL}"
exit 2
fi
mkdir -p "$out_dir"
if ! unzip -o -d "$out_dir" $TEMPZIP; then
log "ERROR: failed to unzip the datapacks ${PACKS} from ${$TEMPZIP}"
log "ERROR: failed to unzip the ${PACKS} from ${$TEMPZIP}"
fi
# clean up files time!
@@ -83,20 +81,4 @@ if [[ "$PACKS" ]] && [[ "$VT_VERSION" ]]; then
fi
fi
# Download and move crafting tweaks
if [[ "$CRAFTING_TWEAKS" ]] && [[ "$VT_VERSION" ]]; then
VT_ZIPDATA_URL=https://vanillatweaks.net/assets/server/zipcraftingtweaks.php
DOWNLOAD_URL=$(curl -X POST -F "packs=${CRAFTING_TWEAKS}" -F "version=${VT_VERSION}" $VT_ZIPDATA_URL | jq -r '.link')
if [ ! "$DOWNLOAD_URL" ]; then
log "ERROR: unable to retrieve crafting tweak DOWNLOAD_URL from vanillatweaks.net!"
exit 2
fi
mkdir -p "$out_dir"
if ! get -o $out_dir/crafting_tweaks.zip "https://vanillatweaks.net${DOWNLOAD_URL}"; then
log "ERROR: failed to download crafting tweaks from ${DOWNLOAD_URL}"
exit 2
fi
fi
exec "${SCRIPTS:-/}start-setupDatapack" "$@"

View File

@@ -11,8 +11,8 @@ setupOnlyMinecraftTest(){
cd "$folder"
result=0
if ! logs=$(docker-compose run mc 2>&1); then
echo "${folder} test scenario FAILED"
if ! logs=$(docker compose run --quiet-pull mc 2>&1); then
echo "${folder} setup FAILED"
echo ":::::::::::: LOGS ::::::::::::::::
$logs
::::::::::::::::::::::::::::::::::
@@ -29,7 +29,7 @@ $logs
echo "${folder} PASS"
fi
docker-compose down -v --remove-orphans
docker compose down -v --remove-orphans
cd ..
return $result