File tree Expand file tree Collapse file tree 4 files changed +31
-0
lines changed
Expand file tree Collapse file tree 4 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM ubuntu:latest
2+
3+ RUN apt-get update && apt-get install --no-install-recommends -y \
4+ ca-certificates \
5+ lib32gcc1 \
6+ net-tools \
7+ lib32stdc++6 \
8+ lib32z1 \
9+ lib32z1-dev \
10+ curl
11+
12+ RUN mkdir -p /home/daemon/steamcmd && \
13+ curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf - -C /home/daemon/steamcmd && \
14+ chown -R daemon:daemon /home/daemon
15+
16+ WORKDIR /home/daemon/steamcmd
17+ USER daemon
18+
19+ ADD scripts/steam.sh /home/daemon/steamcmd/steam.sh
20+ CMD ./steam.sh
Original file line number Diff line number Diff line change 1+ */1 * * * * /scripts/steam.sh >> /var/log/steam.log 2>&1
2+ # An empty line is required at the end of this file for a valid cron file.
3+
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+
3+ # start cron
4+ /usr/sbin/crond -f -l 8
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ ./steamcmd.sh +@sSteamCmdForcePlatformType windows +login ${STEAM_USER} ${STEAM_PASS} +force_install_dir ./gigantic-game +app_update 327690 validate +quit
4+
You can’t perform that action at this time.
0 commit comments