-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #139 from 3ventic/tshock5
tshock v5 support
- Loading branch information
Showing
2 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,19 +6,20 @@ RUN apk add --update-cache \ | |
# add the bootstrap file | ||
COPY bootstrap.sh /tshock/bootstrap.sh | ||
|
||
ENV TSHOCKVERSION=v4.5.18 | ||
ENV TSHOCKZIP=TShock4.5.18_Terraria1.4.3.6.zip | ||
ENV TSHOCKVERSION=v5.0.0 | ||
ENV TSHOCKZIP=TShock-5.0.0-for-Terraria-1.4.4.7-linux-x64-Release.zip | ||
|
||
# Download and unpack TShock | ||
ADD https://github.com/Pryaxis/TShock/releases/download/$TSHOCKVERSION/$TSHOCKZIP / | ||
RUN unzip $TSHOCKZIP -d /tshock && \ | ||
tar -xvf /tshock/*.tar -C /tshock && \ | ||
rm $TSHOCKZIP && \ | ||
chmod +x /tshock/TerrariaServer.exe && \ | ||
chmod +x /tshock/TShock.Server && \ | ||
# add executable perm to bootstrap | ||
chmod +x /tshock/bootstrap.sh | ||
|
||
# do not use -slim due to mysql/tshock requirements | ||
FROM mono:6.12.0.122 | ||
FROM mcr.microsoft.com/dotnet/runtime:6.0 | ||
|
||
LABEL maintainer="Ryan Sheehan <[email protected]>" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters