lock to nvidia-340 only currently

This commit is contained in:
Andy 2016-04-27 17:54:17 +02:00
parent d5ac118fec
commit ae7100b6c0
Signed by: arno
GPG Key ID: 368DDA2E9A471EAC
3 changed files with 11 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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