lock to nvidia-340 only currently

pull/5/head
Andy 8 years ago
parent d5ac118fec
commit ae7100b6c0
Signed by: arno
GPG Key ID: 368DDA2E9A471EAC

@ -36,7 +36,7 @@ RUN echo "deb [arch=amd64,i386] http://repo.steampowered.com/steam/ precise stea
apt-get -y upgrade && \
apt-get -y dist-upgrade && \
apt-get -fy install && \
apt-get -y install pciutils pulseaudio nvidia-current mesa-utils steam && \
apt-get -y install pciutils pulseaudio nvidia-340 mesa-utils steam && \
rm -f /etc/apt/sources.list.d/tmp-steam.list && \
rm -rf /var/lib/apt/lists

@ -12,6 +12,13 @@ Tested in Ubuntu 16.04 LTS (64bit) with the following GPU's:
- [Docker](https://www.docker.com/)
- (Optional) [Docker Compose](https://docs.docker.com/compose/)
## Limitations
- Currently, the version of the Nvidia's driver in this container must match the version installed on your host.
I am going to improve the `/launch` script so that it will be able to automatically detect the working version of your Nvidia driver and use it.
Currently the script detects only the nvidia-340 vs no-proprietary-nvidia-drivers at all.
# Building and launching Steam

@ -16,9 +16,9 @@ services:
- data:/home
# - /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket:ro
devices:
# - /dev/nvidia0
# - /dev/nvidiactl
# - /dev/nvidia-uvm
- /dev/nvidia0
- /dev/nvidiactl
- /dev/nvidia-uvm
# - /dev/nvidia-modeset
- /dev/dri
# - /dev/snd

Loading…
Cancel
Save