2020-04-06 23:36:11 +00:00
|
|
|
FROM mono:latest
|
|
|
|
|
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get install -y wget unzip xvfb x11vnc xterm i3
|
|
|
|
|
|
|
|
# Game + ModLoader
|
|
|
|
RUN mkdir -p /data/Stardew && \
|
|
|
|
mkdir -p /data/nexus && \
|
2020-12-25 15:11:17 +00:00
|
|
|
wget https://eris.cc/Stardew_latest.tar.gz -qO /data/latest.tar.gz && \
|
2020-04-07 01:07:14 +00:00
|
|
|
tar xf /data/latest.tar.gz -C /data/Stardew && \
|
|
|
|
rm /data/latest.tar.gz && \
|
2021-01-13 09:51:35 +00:00
|
|
|
wget https://github.com/Pathoschild/SMAPI/releases/download/3.8.3/SMAPI-3.8.3-installer.zip -qO /data/nexus.zip && \
|
2020-04-06 23:36:11 +00:00
|
|
|
unzip /data/nexus.zip -d /data/nexus/ && \
|
2021-01-13 09:51:35 +00:00
|
|
|
/bin/bash -c "echo -e \"2\n/data/Stardew/Stardew\ Valley\n1\n\" | /usr/bin/mono /data/nexus/SMAPI\ 3.8.3\ installer/internal/unix-install.exe"
|
2020-04-06 23:36:11 +00:00
|
|
|
|
2020-04-07 00:25:05 +00:00
|
|
|
# Add Mods
|
2020-04-07 00:11:02 +00:00
|
|
|
COPY mods/alwayson.zip /data/alwayson.zip
|
|
|
|
COPY mods/unlimitedplayers.zip /data/unlimitedplayers.zip
|
2020-04-07 00:25:05 +00:00
|
|
|
COPY mods/autoloadgame.zip /data/autoloadgame.zip
|
2020-04-06 23:36:11 +00:00
|
|
|
|
|
|
|
RUN unzip /data/alwayson.zip -d /data/Stardew/Stardew\ Valley/Mods && \
|
2020-04-07 00:11:02 +00:00
|
|
|
unzip /data/unlimitedplayers.zip -d /data/Stardew/Stardew\ Valley/Mods && \
|
2020-04-07 00:25:05 +00:00
|
|
|
unzip /data/autoloadgame.zip -d /data/Stardew/Stardew\ Valley/Mods && \
|
|
|
|
rm /data/alwayson.zip /data/unlimitedplayers.zip /data/autoloadgame.zip
|
2020-04-07 03:45:08 +00:00
|
|
|
RUN chmod +x /data/Stardew/Stardew\ Valley/StardewValley
|
2020-04-06 23:36:11 +00:00
|
|
|
|
2020-04-07 01:52:52 +00:00
|
|
|
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
2020-04-06 23:36:11 +00:00
|
|
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|