-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
23 lines (18 loc) · 756 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM tianon/steam
# my system has nvidia, so yours should too!
RUN sudo apt-get update && sudo apt-get install -yq kmod mesa-utils
# The installing the below might or might not work, i've not tested it yet
# RUN sudo add-apt-repository ppa:graphics-drivers/ppa
# RUN sudo apt-get install -y-q nvidia-driver-396
# This works on my machine, you might want to upgrade the version though.
ADD NVIDIA-Linux-x86_64-387.34.run /tmp/NVIDIA-DRIVER.run
RUN sudo sh /tmp/NVIDIA-DRIVER.run -a -N --ui=none --no-kernel-module
RUN sudo rm /tmp/NVIDIA-DRIVER.run
# Not sure if usefull with PULSE_SERVER
COPY pulse-client.conf /etc/pulse/client.conf
# good fonts
COPY local.conf /etc/fonts/local.conf
USER steam
ENV HOME /home/steam
VOLUME /home/steam
CMD ["steam"]