"script":"#!\/bin\/bash\n# SRCDS Base Installation Script\n#\n# Server Files: \/mnt\/server\napt -y update\napt -y --no-install-recommends install curl lib32gcc1 ca-certificates\n\ncd \/tmp\ncurl -sSL -o steamcmd.tar.gz http:\/\/media.steampowered.com\/installer\/steamcmd_linux.tar.gz\n\nmkdir -p \/mnt\/server\/steamcmd\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\ncd \/mnt\/server\/steamcmd\n\n# SteamCMD fails otherwise for some reason, even running as root.\n# This is changed at the end of the install process anyways.\nchown -R root:root \/mnt\n\nexport HOME=\/mnt\/server\n.\/steamcmd.sh +login anonymous +force_install_dir \/mnt\/server +app_update ${SRCDS_APPID} +quit\n\nmkdir -p \/mnt\/server\/.steam\/sdk32\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so",
"container":"ubuntu:16.04",
"entrypoint":"bash"
}
},
"variables":[
{
"name":"Game ID",
"description":"The ID corresponding to the game to download and run using SRCDS.",
"env_variable":"SRCDS_APPID",
"default_value":"",
"user_viewable":1,
"user_editable":0,
"rules":"required|numeric|digits_between:1,6"
},
{
"name":"Game Name",
"description":"The name corresponding to the game to download and run using SRCDS.",