forked from mikenye/docker-steam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
60 lines (57 loc) · 1.58 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
FROM jlesage/baseimage-gui:ubuntu-20.04
ENV APP_NAME="Steam" \
XDG_CACHE_HOME=/steam/xdg/cache \
XDG_CONFIG_HOME=/steam/xdg/config \
XDG_DATA_HOME=/steam/xdg/data \
XDG_RUNTIME_DIR=/tmp/run/user/app
RUN set -x && \
dpkg --add-architecture i386 && \
apt-get update -y && \
apt-get install -y --no-install-recommends \
sudo \
xterm \
wget && \
echo "========== Setup sudoers ==========" && \
echo "app ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers && \
echo "========== Install Steam ==========" && \
apt-get install -y --no-install-recommends \
make \
gnupg \
xz-utils \
libc6-i386 \
libgl1:i386 \
libxtst6:i386 \
libxrandr2:i386 \
libglib2.0-0:i386 \
libgtk2.0-0:i386 \
libpulse0:i386 \
libva2:i386 \
libbz2-1.0:i386 \
libvdpau1:i386 \
libva-x11-2:i386 \
libcurl4-gnutls-dev:i386 \
libopenal1:i386 \
libsm6:i386 \
libice6:i386 \
libasound2-plugins:i386 \
libsdl2-image-2.0-0:i386 \
dbus \
dbus-x11 \
file \
pulseaudio \
pciutils \
zenity && \
mkdir -p /src && \
cd /src && \
wget http://repo.steampowered.com/steam/archive/precise/steam_latest.tar.gz && \
tar xzvf steam_latest.tar.gz && \
cd /src/steam-launcher && \
make install && \
echo "========== Clean up ==========" && \
rm /var/lib/dpkg/statoverride && \
apt-get remove -y && \
make && \
apt-get autoremove -y && \
rm -rf /tmp/* && \
rm -rf /var/lib/apt/lists/*
COPY rootfs/ /