H
H
HexUserHex2021-11-26 18:54:34
Docker
HexUserHex, 2021-11-26 18:54:34

Error building Docker image?

Good evening, I

'm trying to build a docker image (when downloading the image from the docker hub, everything works fine)

So everything works fine:

docker run -d -p 26900:26900/udp -p 27020:27020/udp -p 27015:27015/udp -p 27015:27015 -e MAXPLAYERS=32 -e START_MAP=de_dust2 -e SERVER_NAME="My Server Name" -e START_MONEY=16000 -e BUY_TIME=0.25 -e FRIENDLY_FIRE=1 -e ADMIN_STEAM=0:1:1234566 --name cs cs16ds/server:latest +log


docker build .
But when I try to build an image on my host, I always get an error:
Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Please use force_install_dir before logon!
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
 Update state (0x3) reconfiguring, progress: 0.00 (0 / 0)
Warning: failed to init SDL thread priority manager: SDL not found
 Update state (0x61) downloading, progress: 13.09 (11833664 / 90405460)
 Update state (0x61) downloading, progress: 48.19 (43562886 / 90405460)
 Update state (0x61) downloading, progress: 98.84 (89356884 / 90405460)
Error! App '90' state is 0x10E after update job.
Work thread 'CHTTPClientThreadPool:2' is marked exited, but we could not immediately join prior to deleting -- proceeding without join
The command '/bin/sh -c /opt/steam/steamcmd.sh +login $steam_user $steam_password +force_install_dir /opt/hlds +app_update 90 validate +quit' returned a non-zero code: 8


i.e. in the Dockerfile one of the lines (there are two in total):
RUN /opt/steam/steamcmd.sh +login $steam_user $steam_password +force_install_dir /opt/hlds +app_update 90 validate +quit

for some reason they don’t work out, the author in the comments in the Dockerfile indicated a link to the solution to this problem:
# Workaround for "app_update 90" bug, see https://forums.alliedmods.net/showthread.php?p=2518786

But I still couldn't figure out what it was.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Karabanov, 2021-11-26
@karabanov

That's it.
Here in the README are ready-made commands for downloading manifests.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question