diff --git a/docker/Dockerfile-steam b/docker/Dockerfile-steam index d2357a7..13287c7 100644 --- a/docker/Dockerfile-steam +++ b/docker/Dockerfile-steam @@ -4,7 +4,6 @@ FROM jlesage/baseimage-gui:debian-11 ARG STEAM_USER ARG STEAM_PASS ARG SRCDS_APPID # Steam appId -ARG STEAM_GUARD # Set the name of the application. ENV APP_NAME="StardewValley" @@ -25,6 +24,10 @@ RUN wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz tar -xzvf steamcmd.tar.gz -C /data/steamcmd && \ cd /data/steamcmd +## Don't set the arg earlier, if you need to rebuild the container +## it will cache up to here when you change the ENV VAR +ARG STEAM_GUARD + RUN chown -R 1000:1000 /data && \ export HOME=/data && \ /data/steamcmd/steamcmd.sh +force_install_dir /data/Stardew +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_GUARD} +app_update ${SRCDS_APPID} validate +quit