Skip to content

Commit 0a98bee

Browse files
authored
Ensure FTBA uses image's java (#3867)
1 parent 93d94f5 commit 0a98bee

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
services:
2+
mc:
3+
image: itzg/minecraft-server:java25
4+
tty: true
5+
stdin_open: true
6+
environment:
7+
EULA: "TRUE"
8+
TYPE: FTBA
9+
FTB_MODPACK_ID: "130"
10+
FTB_MODPACK_VERSION_ID: "100171"
11+
MEMORY: "4G"
12+
ports:
13+
- "25565:25565"
14+
volumes:
15+
- data:/data
16+
volumes:
17+
data:

scripts/start-deployFTBA

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ if isTrue "$FTB_FORCE_REINSTALL" ||
9393

9494
log "Installing modpack ID ${FTB_MODPACK_ID}, version ID ${FTB_MODPACK_VERSION_ID}"
9595
log "This could take a while..."
96-
${ftbInstaller} -pack "${FTB_MODPACK_ID}" -version "${FTB_MODPACK_VERSION_ID}" -auto -force | tee ftb-installer.log
96+
${ftbInstaller} -pack "${FTB_MODPACK_ID}" -version "${FTB_MODPACK_VERSION_ID}" -auto -force -no-java | tee ftb-installer.log
9797
rm -f forge*installer.jar
9898

9999
echo "${FTB_MODPACK_ID}=${FTB_MODPACK_VERSION_ID}" > ${ftbInstallMarker}

0 commit comments

Comments
 (0)