diff --git a/docker/Dockerfile b/docker/Dockerfile index 722907b..d0b8b7f 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -6,11 +6,13 @@ ENV APP_NAME="StardewValley" RUN apt-get update RUN apt-get install -y wget unzip tar strace mono-complete xterm gettext-base jq netcat procps +RUN APP_ICON_URL=https://stardewcommunitywiki.com/mediawiki/images/4/48/Fiddlehead_Fern.png && \ + install_app_icon.sh "$APP_ICON_URL" -# Game + ModLoader 1.5.5 3.13.1 +# Game + ModLoader 1.5.6 3.14.7 RUN mkdir -p /data/Stardew && \ mkdir -p /data/nexus && \ - wget https://eris.cc/Stardew_1.5.5.tar.gz -qO /data/latest.tar.gz && \ + wget https://eris.cc/Stardew_latest.tar.gz -qO /data/latest.tar.gz && \ tar xf /data/latest.tar.gz -C /data/Stardew && \ rm /data/latest.tar.gz @@ -20,12 +22,10 @@ RUN wget -qO dotnet.tar.gz https://download.visualstudio.microsoft.com/download/ && rm dotnet.tar.gz \ && ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet -RUN wget https://github.com/Pathoschild/SMAPI/releases/download/3.13.2/SMAPI-3.13.2-installer.zip -qO /data/nexus.zip && \ +RUN wget https://github.com/Pathoschild/SMAPI/releases/download/3.14.7/SMAPI-3.14.7-installer.zip -qO /data/nexus.zip && \ unzip /data/nexus.zip -d /data/nexus/ && \ - /bin/bash -c "echo -e \"2\n\n\" | /data/nexus/SMAPI\ 3.13.2\ installer/internal/linux/SMAPI.Installer --install --game-path \"/data/Stardew/Stardew Valley\"" || : - #/bin/bash -c "echo -e \"2\n/data/Stardew/Stardew\ Valley\n1\n\" | /data/nexus/SMAPI\ 3.13.2\ installer/internal/linux/SMAPI.Installer" + /bin/bash -c "SMAPI_NO_TERMINAL=true SMAPI_USE_CURRENT_SHELL=true echo -e \"2\n\n\" | /data/nexus/SMAPI\ 3.14.7\ installer/internal/linux/SMAPI.Installer --install --game-path \"/data/Stardew/Stardew Valley\"" || : -# Add Mods # Add Mods & Scripts COPY ["mods/", "/data/Stardew/Stardew Valley/Mods/"] @@ -36,7 +36,4 @@ RUN chmod +x /data/Stardew/Stardew\ Valley/StardewValley && \ chown -R 1000:1000 /data/Stardew && \ chmod +x /opt/*.sh -RUN APP_ICON_URL=https://stardewcommunitywiki.com/mediawiki/images/4/48/Fiddlehead_Fern.png && \ - install_app_icon.sh "$APP_ICON_URL" - COPY docker-entrypoint.sh /startapp.sh