Skip to content

Commit 2756d10

Browse files
committed
updated to 1450 and removed dep on mono container
1 parent 8cddf45 commit 2756d10

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

vanilla/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ RUN apk add --update-cache \
66
# add the bootstrap file
77
COPY 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

1313
ADD $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

2424
LABEL org.opencontainers.image.authors="Ryan Sheehan <rsheehan@gmail.com>"
2525
LABEL org.opencontainers.image.url="https://github.com/ryansheehan/terraria"

vanilla/bootstrap.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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" "$@"
2223
else
2324
echo "Environment WORLD_FILENAME specified"
2425
if [ -f "$WORLD_PATH" ]; then

0 commit comments

Comments
 (0)