Skip to content

Instantly share code, notes, and snippets.

@Nuc1eoN
Last active January 27, 2019 00:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nuc1eoN/a0ecc88f256e2062542540a9142a2f5a to your computer and use it in GitHub Desktop.
Save Nuc1eoN/a0ecc88f256e2062542540a9142a2f5a to your computer and use it in GitHub Desktop.
Without using buildkit, it builds just fine
# docker build .
Sending build context to Docker daemon 7.168kB
Step 1/16 : FROM debian:stretch
---> a0bd3e1c8f9e
Step 2/16 : LABEL maintainer="nucrap@hotmail.de"
---> Using cache
---> f9aebb90fe4b
Step 3/16 : RUN apt-get update && apt-get install --no-install-recommends -y lib32stdc++6 lib32gcc1 ca-certificates locales && rm -rf /var/lib/apt/lists/* && sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && locale-gen && useradd -m steam
---> Using cache
---> e94e0a114109
Step 4/16 : USER steam
---> Using cache
---> a91ad76575a7
Step 5/16 : RUN mkdir /home/steam/steamcmd
---> Using cache
---> 3720dedffebd
Step 6/16 : WORKDIR /home/steam/steamcmd
---> Using cache
---> 0454e6f6f455
Step 7/16 : ADD --chown=steam https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz steamcmd_linux.tar.gz
Downloading [==================================================>] 2.429MB/2.429MB
---> Using cache
---> c5804ed02620
Step 8/16 : USER root
---> Running in 829f7e590e2d
Removing intermediate container 829f7e590e2d
---> ed75507c6280
Step 9/16 : RUN chown -R steam:steam steamcmd_linux.tar.gz
---> Running in 8ae3d968267d
Removing intermediate container 8ae3d968267d
---> ddcaf28715ab
Step 10/16 : USER steam
---> Running in 5acd36b7401c
Removing intermediate container 5acd36b7401c
---> 165941e52fb2
Step 11/16 : RUN tar -zxf steamcmd_linux.tar.gz && rm steamcmd_linux.tar.gz
---> Running in 875047c8ae5d
Removing intermediate container 875047c8ae5d
---> cc6c003733a3
Step 12/16 : RUN ./steamcmd.sh +login anonymous +force_install_dir /home/steam/csgo-dedicated +app_update 740 validate +quit
---> Running in ac6e90bf4870
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
[ 0%] Checking for available update...
[----] Downloading update (0 of 13269 KB)...
[ 0%] Downloading update (2100 of 13269 KB)...
[ 15%] Downloading update (3917 of 13269 KB)...
[ 29%] Downloading update (5197 of 13269 KB)...
[ 39%] Downloading update (6489 of 13269 KB)...
[ 48%] Downloading update (7901 of 13269 KB)...
[ 59%] Downloading update (9179 of 13269 KB)...
[ 69%] Downloading update (10467 of 13269 KB)...
[ 78%] Downloading update (11755 of 13269 KB)...
[ 88%] Downloading update (13150 of 13269 KB)...
[ 99%] Downloading update (13269 of 13269 KB)...
[100%] Download Complete.
[----] Applying update...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Cleaning up...
[----] Update complete, launching...
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
[ 0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam API...OK.
Connecting anonymously to Steam Public...Logged in OK
Waiting for user info...
OK
Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Update state (0x5) validating, progress: 0.00 (0 / 19626906772)
Update state (0x61) downloading, progress: 0.00 (0 / 19626906772)
Update state (0x61) downloading, progress: 0.75 (146717393 / 19626906772)
Update state (0x61) downloading, progress: 1.75 (342845211 / 19626906772)
Update state (0x61) downloading, progress: 2.44 (479675068 / 19626906772)
Update state (0x61) downloading, progress: 3.44 (675787506 / 19626906772)
Update state (0x61) downloading, progress: 4.38 (859044031 / 19626906772)
Update state (0x61) downloading, progress: 5.49 (1076939593 / 19626906772)
Update state (0x61) downloading, progress: 6.43 (1262938622 / 19626906772)
Update state (0x61) downloading, progress: 7.47 (1465705147 / 19626906772)
Update state (0x61) downloading, progress: 8.41 (1649673790 / 19626906772)
Update state (0x61) downloading, progress: 9.38 (1840147343 / 19626906772)
Update state (0x61) downloading, progress: 10.58 (2077237050 / 19626906772)
Update state (0x61) downloading, progress: 11.44 (2244502484 / 19626906772)
Update state (0x61) downloading, progress: 12.56 (2464929820 / 19626906772)
Update state (0x61) downloading, progress: 13.49 (2647046960 / 19626906772)
Update state (0x61) downloading, progress: 14.25 (2797424672 / 19626906772)
Update state (0x61) downloading, progress: 14.94 (2931314823 / 19626906772)
Update state (0x61) downloading, progress: 15.73 (3086846814 / 19626906772)
Update state (0x61) downloading, progress: 16.36 (3210907429 / 19626906772)
Update state (0x61) downloading, progress: 17.12 (3359782377 / 19626906772)
Update state (0x61) downloading, progress: 17.84 (3501948277 / 19626906772)
Update state (0x61) downloading, progress: 18.70 (3669429139 / 19626906772)
Update state (0x61) downloading, progress: 19.57 (3840038450 / 19626906772)
Update state (0x61) downloading, progress: 20.59 (4040274842 / 19626906772)
Update state (0x61) downloading, progress: 21.67 (4253420778 / 19626906772)
Update state (0x61) downloading, progress: 22.65 (4446195002 / 19626906772)
Update state (0x61) downloading, progress: 23.44 (4601174386 / 19626906772)
Update state (0x61) downloading, progress: 24.26 (4762452752 / 19626906772)
Update state (0x61) downloading, progress: 25.05 (4916176988 / 19626906772)
Update state (0x61) downloading, progress: 25.99 (5100688446 / 19626906772)
Update state (0x61) downloading, progress: 26.78 (5257041577 / 19626906772)
Update state (0x61) downloading, progress: 27.59 (5415542079 / 19626906772)
Update state (0x61) downloading, progress: 28.41 (5575057375 / 19626906772)
Update state (0x61) downloading, progress: 29.22 (5735539069 / 19626906772)
Update state (0x61) downloading, progress: 30.13 (5914066876 / 19626906772)
Update state (0x61) downloading, progress: 30.85 (6055689056 / 19626906772)
Update state (0x61) downloading, progress: 31.72 (6225929932 / 19626906772)
Update state (0x61) downloading, progress: 32.54 (6386451360 / 19626906772)
Update state (0x61) downloading, progress: 33.34 (6543279244 / 19626906772)
Update state (0x61) downloading, progress: 34.21 (6714840922 / 19626906772)
Update state (0x61) downloading, progress: 34.96 (6862051879 / 19626906772)
Update state (0x61) downloading, progress: 35.86 (7038995302 / 19626906772)
Update state (0x61) downloading, progress: 36.47 (7157737329 / 19626906772)
Update state (0x61) downloading, progress: 36.89 (7239606028 / 19626906772)
Update state (0x61) downloading, progress: 37.65 (7389135522 / 19626906772)
Update state (0x61) downloading, progress: 38.25 (7506594878 / 19626906772)
Update state (0x61) downloading, progress: 38.97 (7647854884 / 19626906772)
Update state (0x61) downloading, progress: 39.81 (7812522352 / 19626906772)
Update state (0x61) downloading, progress: 40.47 (7942242568 / 19626906772)
Update state (0x61) downloading, progress: 41.26 (8097455452 / 19626906772)
Update state (0x61) downloading, progress: 41.88 (8219472395 / 19626906772)
Update state (0x61) downloading, progress: 42.72 (8384659345 / 19626906772)
Update state (0x61) downloading, progress: 43.42 (8522914833 / 19626906772)
Update state (0x61) downloading, progress: 44.11 (8657200008 / 19626906772)
Update state (0x61) downloading, progress: 44.98 (8828897824 / 19626906772)
Update state (0x61) downloading, progress: 45.53 (8936757829 / 19626906772)
Update state (0x61) downloading, progress: 46.03 (9033458262 / 19626906772)
Update state (0x61) downloading, progress: 46.70 (9166570929 / 19626906772)
Update state (0x61) downloading, progress: 47.21 (9266287461 / 19626906772)
Update state (0x61) downloading, progress: 47.94 (9408871919 / 19626906772)
Update state (0x61) downloading, progress: 48.33 (9486411758 / 19626906772)
Update state (0x61) downloading, progress: 48.80 (9578738582 / 19626906772)
Update state (0x61) downloading, progress: 49.40 (9696578281 / 19626906772)
Update state (0x61) downloading, progress: 49.80 (9773493784 / 19626906772)
Update state (0x61) downloading, progress: 50.19 (9850734707 / 19626906772)
Update state (0x61) downloading, progress: 50.63 (9936146652 / 19626906772)
Update state (0x61) downloading, progress: 51.00 (10009535198 / 19626906772)
Update state (0x61) downloading, progress: 51.51 (10110570998 / 19626906772)
Update state (0x61) downloading, progress: 52.29 (10262762249 / 19626906772)
Update state (0x61) downloading, progress: 52.67 (10337364289 / 19626906772)
Update state (0x61) downloading, progress: 53.45 (10490679840 / 19626906772)
Update state (0x61) downloading, progress: 53.82 (10562415673 / 19626906772)
Update state (0x61) downloading, progress: 54.28 (10653799253 / 19626906772)
Update state (0x61) downloading, progress: 54.78 (10752591810 / 19626906772)
Update state (0x61) downloading, progress: 55.24 (10842264229 / 19626906772)
Update state (0x61) downloading, progress: 55.61 (10915050768 / 19626906772)
Update state (0x61) downloading, progress: 56.36 (11061630346 / 19626906772)
Update state (0x61) downloading, progress: 56.95 (11176853002 / 19626906772)
Update state (0x61) downloading, progress: 57.72 (11329497708 / 19626906772)
Update state (0x61) downloading, progress: 58.39 (11460953442 / 19626906772)
Update state (0x61) downloading, progress: 59.09 (11597736036 / 19626906772)
Update state (0x61) downloading, progress: 59.81 (11737958173 / 19626906772)
Update state (0x61) downloading, progress: 60.62 (11898062578 / 19626906772)
Update state (0x61) downloading, progress: 61.48 (12066179462 / 19626906772)
Update state (0x61) downloading, progress: 62.26 (12220377496 / 19626906772)
Update state (0x61) downloading, progress: 62.88 (12341824774 / 19626906772)
Update state (0x61) downloading, progress: 63.66 (12494492772 / 19626906772)
Update state (0x61) downloading, progress: 64.43 (12645679293 / 19626906772)
Update state (0x61) downloading, progress: 65.16 (12789322285 / 19626906772)
Update state (0x61) downloading, progress: 65.80 (12914461833 / 19626906772)
Update state (0x61) downloading, progress: 66.42 (13036985855 / 19626906772)
Update state (0x61) downloading, progress: 67.01 (13151706353 / 19626906772)
Update state (0x61) downloading, progress: 67.53 (13254392042 / 19626906772)
Update state (0x61) downloading, progress: 68.05 (13356930730 / 19626906772)
Update state (0x61) downloading, progress: 68.63 (13469982206 / 19626906772)
Update state (0x61) downloading, progress: 69.30 (13600897784 / 19626906772)
Update state (0x61) downloading, progress: 69.77 (13694638922 / 19626906772)
Update state (0x61) downloading, progress: 70.27 (13792302218 / 19626906772)
Update state (0x61) downloading, progress: 70.81 (13897703506 / 19626906772)
Update state (0x61) downloading, progress: 71.26 (13985235258 / 19626906772)
Update state (0x61) downloading, progress: 71.93 (14118441888 / 19626906772)
Update state (0x61) downloading, progress: 72.44 (14218327018 / 19626906772)
Update state (0x61) downloading, progress: 73.13 (14352806412 / 19626906772)
Update state (0x61) downloading, progress: 73.51 (14427845487 / 19626906772)
Update state (0x61) downloading, progress: 74.01 (14525675478 / 19626906772)
Update state (0x61) downloading, progress: 74.44 (14611023147 / 19626906772)
Update state (0x61) downloading, progress: 74.98 (14715401229 / 19626906772)
Update state (0x61) downloading, progress: 75.33 (14785226519 / 19626906772)
Update state (0x61) downloading, progress: 75.95 (14907141189 / 19626906772)
Update state (0x61) downloading, progress: 76.61 (15035957790 / 19626906772)
Update state (0x61) downloading, progress: 77.28 (15167430585 / 19626906772)
Update state (0x61) downloading, progress: 77.98 (15304289083 / 19626906772)
Update state (0x61) downloading, progress: 78.53 (15412214864 / 19626906772)
Update state (0x61) downloading, progress: 79.11 (15526965192 / 19626906772)
Update state (0x61) downloading, progress: 79.76 (15654854083 / 19626906772)
Update state (0x61) downloading, progress: 80.48 (15795797180 / 19626906772)
Update state (0x61) downloading, progress: 81.03 (15904148162 / 19626906772)
Update state (0x61) downloading, progress: 81.65 (16025177978 / 19626906772)
Update state (0x61) downloading, progress: 82.19 (16132004651 / 19626906772)
Update state (0x61) downloading, progress: 82.63 (16216903403 / 19626906772)
Update state (0x61) downloading, progress: 83.00 (16291266260 / 19626906772)
Update state (0x61) downloading, progress: 83.53 (16393548843 / 19626906772)
Update state (0x61) downloading, progress: 83.97 (16481098095 / 19626906772)
Update state (0x61) downloading, progress: 84.44 (16572545671 / 19626906772)
Update state (0x61) downloading, progress: 85.02 (16687126543 / 19626906772)
Update state (0x61) downloading, progress: 85.61 (16802811788 / 19626906772)
Update state (0x61) downloading, progress: 86.07 (16892522555 / 19626906772)
Update state (0x61) downloading, progress: 86.39 (16955437115 / 19626906772)
Update state (0x61) downloading, progress: 86.75 (17026543225 / 19626906772)
Update state (0x61) downloading, progress: 87.39 (17152110065 / 19626906772)
Update state (0x61) downloading, progress: 88.07 (17285972028 / 19626906772)
Update state (0x61) downloading, progress: 88.65 (17399730059 / 19626906772)
Update state (0x61) downloading, progress: 89.11 (17488681159 / 19626906772)
Update state (0x61) downloading, progress: 89.51 (17567098699 / 19626906772)
Update state (0x61) downloading, progress: 90.17 (17697657351 / 19626906772)
Update state (0x61) downloading, progress: 90.57 (17775385232 / 19626906772)
Update state (0x61) downloading, progress: 91.07 (17874598750 / 19626906772)
Update state (0x61) downloading, progress: 91.69 (17996746915 / 19626906772)
Update state (0x61) downloading, progress: 92.18 (18091930217 / 19626906772)
Update state (0x61) downloading, progress: 92.67 (18188113946 / 19626906772)
Update state (0x61) downloading, progress: 93.43 (18337755682 / 19626906772)
Update state (0x61) downloading, progress: 94.35 (18518721801 / 19626906772)
Update state (0x61) downloading, progress: 95.13 (18671522708 / 19626906772)
Update state (0x61) downloading, progress: 95.75 (18791930739 / 19626906772)
Update state (0x61) downloading, progress: 96.20 (18880525958 / 19626906772)
Update state (0x61) downloading, progress: 96.65 (18968805854 / 19626906772)
Update state (0x61) downloading, progress: 97.08 (19053998660 / 19626906772)
Update state (0x61) downloading, progress: 97.45 (19125517082 / 19626906772)
Update state (0x61) downloading, progress: 97.80 (19195368806 / 19626906772)
Update state (0x61) downloading, progress: 98.20 (19274244712 / 19626906772)
Update state (0x61) downloading, progress: 98.73 (19376844962 / 19626906772)
Update state (0x61) downloading, progress: 99.30 (19489237136 / 19626906772)
Update state (0x101) committing, progress: 13.98 (2742894476 / 19626906772)
Success! App '740' fully installed.
Removing intermediate container ac6e90bf4870
---> c2e8e65be8ad
Step 13/16 : RUN mkdir /home/steam/.steam/sdk32 && ln -s /home/steam/steamcmd/linux32/steamclient.so /home/steam/.steam/sdk32/steamclient.so
---> Running in 86e5e50b4498
Removing intermediate container 86e5e50b4498
---> 0a67e47d8d7a
Step 14/16 : ENV IP=0.0.0.0 PORT=27015 TV_PORT=27020 REGION=3 TICKRATE=128 FPSMAX=300 MAXPLAYERS=14 TOKEN=changeme HOSTNAME=changeme RCON_PW=changeme SV_PW=changeme MAPGROUP=mg_active GAME_TYPE=0 GAME_MODE=1 MAP=de_dust2
---> Running in ab16dc99f52e
Removing intermediate container ab16dc99f52e
---> 2edf25e93814
Step 15/16 : WORKDIR /home/steam/csgo-dedicated
---> Running in 3ed6fb81c3e7
Removing intermediate container 3ed6fb81c3e7
---> badcce9271cb
Step 16/16 : ENTRYPOINT LD_LIBRARY_PATH=/home/steam/csgo-dedicated/bin:/home/steam/csgo-dedicated ./srcds_linux -game csgo -autoupdate -console -usercon -port $PORT +ip $IP -tv_port $TV_PORT +sv_region $REGION -tickrate $TICKRATE +fps_max $FPSMAX -maxplayers_override $MAXPLAYERS +sv_setsteamaccount $TOKEN +hostname $HOSTNAME +rcon_password $RCON_PW +sv_password $SV_PW +mapgroup $MAPGROUP +game_type $GAME_TYPE +game_mode $GAME_MODE +map $MAP
---> Running in 2772d51be6c2
Removing intermediate container 2772d51be6c2
---> d67d1b886a42
Successfully built d67d1b886a42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment