Switch to hosted steam image

This commit is contained in:
paul 2018-10-21 18:23:58 +02:00 committed by Hive
parent 2d57283e25
commit 2ab631861c
3 changed files with 12 additions and 4 deletions

View file

@ -1,4 +1,5 @@
FROM docker.zom.bi/dockerfiles/steam:latest FROM docker.zom.bi/dockerfiles/steam:latest
RUN dpkg --add-architecture i386 RUN dpkg --add-architecture i386
RUN apt-get update RUN apt-get update
RUN apt-get install -y libcurl4-gnutls-dev:i386 RUN apt-get install -y libcurl4-gnutls-dev:i386

View file

@ -5,16 +5,17 @@ services:
build: . build: .
stdin_open: true stdin_open: true
tty: true tty: true
volumes: environment:
- "CLUSTER_TOKEN=pds-g^KU_W-8duuIH^mHR5MxsqERUXwCO6RsRx0CBPADHhtk1mem6U43jTGn8="
ports: ports:
- 11000:11000 - 11000:11000
- 11000:11000/udp - 11000:11000/udp
- 27018:27018 - 27018:27018
- 27018:27018/udp - 27018:27018/udp
- 8768 - 8768
volumes: #volumes:
- /data/steam-games/:/home/steam/games/:rw #- /data/steam-games/:/home/steam/games/:rw
- world:/home/steam/.klei/DoNotStarveTogether/Zom.bi/save #- world:/home/steam/.klei/DoNotStarveTogether/Zom.bi/save
volumes: volumes:
world: world:

View file

@ -27,6 +27,12 @@ else
echo "Skipped game installation." echo "Skipped game installation."
fi fi
if [[ ! -f ${dontstarve_dir}/${cluster_name}/cluster_token.txt ]]
then
echo "${CLUSTER_TOKEN}" > ${dontstarve_dir}/${cluster_name}/cluster_token.txt
fi
# run the next commands from the installdir # run the next commands from the installdir
cd $installdir/bin cd $installdir/bin