From 0a98bee40ea9b86500ea7b6611784902a553803f Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Mon, 12 Jan 2026 20:56:50 -0600 Subject: [PATCH] Ensure FTBA uses image's java (#3867) --- examples/ftba/stoneblock4/compose.yml | 17 +++++++++++++++++ scripts/start-deployFTBA | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 examples/ftba/stoneblock4/compose.yml diff --git a/examples/ftba/stoneblock4/compose.yml b/examples/ftba/stoneblock4/compose.yml new file mode 100644 index 00000000..fadb8e3a --- /dev/null +++ b/examples/ftba/stoneblock4/compose.yml @@ -0,0 +1,17 @@ +services: + mc: + image: itzg/minecraft-server:java25 + tty: true + stdin_open: true + environment: + EULA: "TRUE" + TYPE: FTBA + FTB_MODPACK_ID: "130" + FTB_MODPACK_VERSION_ID: "100171" + MEMORY: "4G" + ports: + - "25565:25565" + volumes: + - data:/data +volumes: + data: \ No newline at end of file diff --git a/scripts/start-deployFTBA b/scripts/start-deployFTBA index b5b893ca..ed4a6fe6 100755 --- a/scripts/start-deployFTBA +++ b/scripts/start-deployFTBA @@ -93,7 +93,7 @@ if isTrue "$FTB_FORCE_REINSTALL" || log "Installing modpack ID ${FTB_MODPACK_ID}, version ID ${FTB_MODPACK_VERSION_ID}" log "This could take a while..." - ${ftbInstaller} -pack "${FTB_MODPACK_ID}" -version "${FTB_MODPACK_VERSION_ID}" -auto -force | tee ftb-installer.log + ${ftbInstaller} -pack "${FTB_MODPACK_ID}" -version "${FTB_MODPACK_VERSION_ID}" -auto -force -no-java | tee ftb-installer.log rm -f forge*installer.jar echo "${FTB_MODPACK_ID}=${FTB_MODPACK_VERSION_ID}" > ${ftbInstallMarker}