Skip to content

Commit a15e8f2

Browse files
authored
Fix Steamcmd download error (#389) (#394)
Copy some Steam files to the newly created user's home directory.
1 parent cddfde1 commit a15e8f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ RUN set -x \
3131
&& rm -rf /var/lib/apt/lists/* \
3232
&& groupadd -g ${GID} steam \
3333
&& useradd -u ${UID} -g ${GID} -ms /bin/bash steam \
34+
&& mkdir -p /home/steam/.local/share/Steam/ \
35+
&& cp -R /root/.local/share/Steam/steamcmd/ /home/steam/.local/share/Steam/steamcmd/ \
36+
&& chown -R ${UID}:${GID} /home/steam/.local/ \
3437
&& gosu nobody true
3538

3639
RUN mkdir -p /config \

0 commit comments

Comments
 (0)