Switch to hosted steam image
This commit is contained in:
parent
2d57283e25
commit
2ab631861c
3 changed files with 12 additions and 4 deletions
|
@ -1,4 +1,5 @@
|
|||
FROM docker.zom.bi/dockerfiles/steam:latest
|
||||
|
||||
RUN dpkg --add-architecture i386
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y libcurl4-gnutls-dev:i386
|
||||
|
|
|
@ -5,16 +5,17 @@ services:
|
|||
build: .
|
||||
stdin_open: true
|
||||
tty: true
|
||||
volumes:
|
||||
environment:
|
||||
- "CLUSTER_TOKEN=pds-g^KU_W-8duuIH^mHR5MxsqERUXwCO6RsRx0CBPADHhtk1mem6U43jTGn8="
|
||||
ports:
|
||||
- 11000:11000
|
||||
- 11000:11000/udp
|
||||
- 27018:27018
|
||||
- 27018:27018/udp
|
||||
- 8768
|
||||
volumes:
|
||||
- /data/steam-games/:/home/steam/games/:rw
|
||||
- world:/home/steam/.klei/DoNotStarveTogether/Zom.bi/save
|
||||
#volumes:
|
||||
#- /data/steam-games/:/home/steam/games/:rw
|
||||
#- world:/home/steam/.klei/DoNotStarveTogether/Zom.bi/save
|
||||
|
||||
volumes:
|
||||
world:
|
||||
|
|
|
@ -27,6 +27,12 @@ else
|
|||
echo "Skipped game installation."
|
||||
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
|
||||
cd $installdir/bin
|
||||
|
||||
|
|
Loading…
Reference in a new issue