25 lines
957 B
Docker
25 lines
957 B
Docker
|
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 && \
|
||
|
wget https://eris.cc/Stardew_latest_1.4.tar -qO /data/latest.tar && \
|
||
|
tar xvf /data/latest.tar -C /data/Stardew && \
|
||
|
wget https://github.com/Pathoschild/SMAPI/releases/download/3.4.1/SMAPI-3.4.1-installer.zip -qO /data/nexus.zip && \
|
||
|
unzip /data/nexus.zip -d /data/nexus/ && \
|
||
|
/bin/bash -c "echo -e \"2\n/data/Stardew/Stardew\ Valley\n1\n\" | /usr/bin/mono /data/nexus/SMAPI\ 3.4.1\ installer/internal/unix-install.exe"
|
||
|
|
||
|
#mods
|
||
|
COPY mods/alwayson.zip /data/alwayson.tar
|
||
|
COPY mods/unlimitedplayers.zip /data/unlimitedplayers.tar
|
||
|
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
||
|
|
||
|
RUN unzip /data/alwayson.zip -d /data/Stardew/Stardew\ Valley/Mods && \
|
||
|
unzip /data/unlimitedplayers.zip -d /data/Stardew/Stardew\ Valley/Mods
|
||
|
|
||
|
|
||
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|