File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ RUN apk add --update-cache \
66# add the bootstrap file
77COPY bootstrap.sh /terraria-server/bootstrap.sh
88
9- ENV DL_LINK=https://terraria.org/api/download/pc-dedicated-server/terraria-server-1449 .zip
10- ENV DL_VERSION=1449
11- ENV DL_FILE=terraria-server-1449 .zip
9+ ENV DL_LINK=https://terraria.org/api/download/pc-dedicated-server/terraria-server-1450 .zip
10+ ENV DL_VERSION=1450
11+ ENV DL_FILE=terraria-server-1450 .zip
1212
1313ADD $DL_LINK /$DL_FILE
1414
@@ -19,7 +19,7 @@ RUN unzip /$DL_FILE -d /terraria && \
1919 chmod +x /terraria-server/TerrariaServer && \
2020 chmod +x /terraria-server/TerrariaServer.bin.x86_64
2121
22- FROM mono:6.10-slim
22+ FROM ubuntu:24.04
2323
2424LABEL org.opencontainers.image.authors="Ryan Sheehan <rsheehan@gmail.com>"
2525LABEL org.opencontainers.image.url="https://github.com/ryansheehan/terraria"
Original file line number Diff line number Diff line change @@ -18,7 +18,8 @@ if [ -z "$WORLD_FILENAME" ]; then
1818 else
1919 echo " Running server with command flags: $@ "
2020 fi
21- mono TerrariaServer.exe -config " $CONFIGPATH /$CONFIG_FILENAME " -logpath " $LOGPATH " " $@ "
21+ # mono TerrariaServer.exe -config "$CONFIGPATH/$CONFIG_FILENAME" -logpath "$LOGPATH" "$@"
22+ ./TerrariaServer -x64 -config " $CONFIGPATH /$CONFIG_FILENAME " -logpath " $LOGPATH " " $@ "
2223else
2324 echo " Environment WORLD_FILENAME specified"
2425 if [ -f " $WORLD_PATH " ]; then
You can’t perform that action at this time.
0 commit comments