Containerized steamcmd.sh
docker pull blang/steamcmd
or build:
docker build -t blang/steamcmd .
Install/update and validate app 740 as your current user to /home/user/gameserver
docker run --rm -i --user="$(id -u):$(id -g)" \
-v /home/user/gameserver:/data blang/steamcmd \
+login anonymous \
+force_install_dir /data \
+app_update 740 validate \
+quit
See LICENSE file.