/
Dockerfile
42 lines (27 loc) · 1.05 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# SteamCMD Server
#
# --------------------------------------------------------------------------------------------------------------------
# @DOCKER-BUILD : docker build -t andrewvaughan/steamcmd .
# @DOCKER-RUN : docker run andrewvaughan/steamcmd:xenial
# --------------------------------------------------------------------------------------------------------------------
#
# See the readme for this container at:
# https://github.com/andrewvaughan/docker-steamcmd/blob/master/README.md
FROM ubuntu:xenial
MAINTAINER Andrew Vaughan <hello@andrewvaughan.io>
### Update Ubuntu packages to be able to support SteamCMD
RUN apt-get update -y \
&& apt-get upgrade -y \
&& apt-get autoremove -y
RUN apt-get install -y \
wget \
lib32gcc1
### Setup working directories
RUN mkdir /opt/steamcmd
WORKDIR /opt/steamcmd
### Download SteamCMD from Valve
RUN wget http://media.steampowered.com/client/steamcmd_linux.tar.gz \
&& tar -xvzf steamcmd_linux.tar.gz \
&& rm steamcmd_linux.tar.gz
### Run SteamCMD
ENTRYPOINT ["/opt/steamcmd/steamcmd.sh"]