diff --git a/Dockerfile b/Dockerfile index 9dfd8c0..aa2a85b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,9 @@ FROM steamcmd/steamcmd:latest +# change this to your timezone +ENV TZ=Europe/London +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone + RUN apt update # todo: remove sound/graphics from install? # libglapi-mesa @@ -21,8 +25,9 @@ COPY config.vdf ./.steam/config/config.vdf # https://steamdb.info/app/526870/depots/?branch=experimental ARG user +ARG password -RUN steamcmd +@sSteamCmdForcePlatformType windows +login ${user} +download_depot 526870 526871 7399828939544997957 +quit +RUN steamcmd +@sSteamCmdForcePlatformType windows +login ${user} ${password} +download_depot 526870 526871 7399828939544997957 +quit WORKDIR /root/.steam/steamcmd/linux32/steamapps/content/app_526870/depot_526871/ # Start the game, get it to populate ini files diff --git a/README.md b/README.md new file mode 100644 index 0000000..a56590d --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# Satisfactory Docker Server + +## Config + +1. Set the `TZ`-Environment variable in the `Dockerfile` to your local timezone (default `Europe/London`) +2. Copy your local `config.vdf` file (`/config/config.vdf`) in the `satisfactory-docker` directory +3. Get your steamguard key via email with `steamcmd +login ` + +## Build + +`docker build -t satisfactory: . --build-arg user= --build-arg password= --build-arg guard_code=` + +## Run + +`docker run -d -p 7777:7777 satisfactory:latest`